работает формирование сурсов и инклюдов по конфигу
This commit is contained in:
		
							parent
							
								
									343d07cbf9
								
							
						
					
					
						commit
						a1a05d823c
					
				@ -24,14 +24,11 @@
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "Main": {
 | 
					  "Main": {
 | 
				
			||||||
    "Sources": {
 | 
					    "Sources": [
 | 
				
			||||||
      "Type": "files",
 | 
					      "stm32f1xx_matlab_conf.c",
 | 
				
			||||||
      "Options": [
 | 
					      "Drivers/STM32F1xx_SIMULINK/stm32f1xx_matlab_gpio.c",
 | 
				
			||||||
        "stm32f1xx_matlab_conf.c",
 | 
					      "Drivers/STM32F1xx_SIMULINK/stm32f1xx_periph_registers.c"
 | 
				
			||||||
        "Drivers/STM32F1xx_SIMULINK/stm32f1xx_matlab_gpio.c",
 | 
					    ],
 | 
				
			||||||
        "Drivers/STM32F1xx_SIMULINK/stm32f1xx_periph_registers.c"
 | 
					 | 
				
			||||||
      ]
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    "Defines": {
 | 
					    "Defines": {
 | 
				
			||||||
      "STM32xx": {
 | 
					      "STM32xx": {
 | 
				
			||||||
        "Prompt": "Choose MCU",
 | 
					        "Prompt": "Choose MCU",
 | 
				
			||||||
@ -115,7 +112,7 @@
 | 
				
			|||||||
          "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c"
 | 
					          "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c"
 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "Type": "checkbox",
 | 
					        "Type": "checkbox",
 | 
				
			||||||
        "Default": true
 | 
					        "Default": false
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "HAL_CRC": {
 | 
					      "HAL_CRC": {
 | 
				
			||||||
        "Prompt": "Enable HAL CRC Module",
 | 
					        "Prompt": "Enable HAL CRC Module",
 | 
				
			||||||
@ -260,8 +257,7 @@
 | 
				
			|||||||
      "HAL_RCC": {
 | 
					      "HAL_RCC": {
 | 
				
			||||||
        "Prompt": "Enable HAL RCC Module",
 | 
					        "Prompt": "Enable HAL RCC Module",
 | 
				
			||||||
        "Sources": [
 | 
					        "Sources": [
 | 
				
			||||||
          "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c",
 | 
					          "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c"
 | 
				
			||||||
          "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c"
 | 
					 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
        "Type": "checkbox",
 | 
					        "Type": "checkbox",
 | 
				
			||||||
        "Default": true
 | 
					        "Default": true
 | 
				
			||||||
 | 
				
			|||||||
@ -50,7 +50,22 @@ set code_WRAPPER= %code_WRAPPER% %code_APP_WRAPPER%
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:: PERIPH BAT START
 | 
					:: PERIPH BAT START
 | 
				
			||||||
set code_PERIPH=.\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_SIMULINK\stm32f1xx_matlab_tim.c
 | 
					set code_PERIPH=.\MCU_STM32F1xx_Matlab\stm32f1xx_matlab_conf.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_SIMULINK\stm32f1xx_matlab_gpio.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_SIMULINK\stm32f1xx_periph_registers.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_adc.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_adc_ex.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_tim_ex.c^
 | 
				
			||||||
 | 
					 .\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_SIMULINK\stm32f1xx_matlab_tim.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set includes_PERIPH=-I".\MCU_STM32F1xx_Matlab\."^
 | 
					set includes_PERIPH=-I".\MCU_STM32F1xx_Matlab\."^
 | 
				
			||||||
 -I".\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_SIMULINK"^
 | 
					 -I".\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_SIMULINK"^
 | 
				
			||||||
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user