убраны лишние сурсы в конфиге

но пока нчиего не работает
This commit is contained in:
Razvalyaev 2025-06-15 16:48:28 +03:00
parent f950785327
commit 343d07cbf9
2 changed files with 20 additions and 57 deletions

View File

@ -1,49 +1,26 @@
{ {
"MainCode": { "MainCode": {
"Sources": { "Includes": [
"Type": "files", ".",
"Options": [ "Drivers/STM32F1xx_SIMULINK",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c", "Drivers/CMSIS",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c", "Drivers/CMSIS/Device/STM32F1xx",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c", "Drivers/STM32F1xx_HAL_Driver/Inc",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c", "Drivers/STM32F1xx_HAL_Driver/Inc/Legacy"
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c", ]
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c"
]
},
"Includes": {
"Type": "paths",
"Options": [
".",
"Drivers/STM32F1xx_SIMULINK",
"Drivers/CMSIS",
"Drivers/CMSIS/Device/STM32F1xx",
"Drivers/STM32F1xx_HAL_Driver/Inc",
"Drivers/STM32F1xx_HAL_Driver/Inc/Legacy"
]
}
}, },
"UserCode": { "UserCode": {
"Functions": { "Functions": {
"PeriphInit": { "PeriphInit": [
"Options": [ "Initialize_Periph_Sim()"
"Initialize_Periph_Sim()" ],
] "PeriphSimulation": [
}, "Simulate_TIMs()",
"PeriphSimulation": { "Simulate_GPIO_BSRR()"
"Options": [ ],
"Simulate_TIMs()", "PeriphDeinit": [
"Simulate_GPIO_BSRR()" "deInitialize_Periph_Sim()"
] ]
},
"PeriphDeinit": {
"Options": [
"deInitialize_Periph_Sim()"
]
}
} }
}, },
"Main": { "Main": {
@ -67,7 +44,7 @@
"Tab_TIM_Enable": { "Tab_TIM_Enable": {
"Prompt": "Enable TIMs", "Prompt": "Enable TIMs",
"Type": "checkbox", "Type": "checkbox",
"Default": false, "Default": true,
"NewRow": true "NewRow": true
}, },
"Tab_ADC_Enable": { "Tab_ADC_Enable": {

View File

@ -50,21 +50,7 @@ set code_WRAPPER= %code_WRAPPER% %code_APP_WRAPPER%
:: PERIPH BAT START :: PERIPH BAT START
set code_PERIPH=.\MCU_STM32F1xx_Matlab\stm32f1xx_matlab_conf.c^ set code_PERIPH=.\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_SIMULINK\stm32f1xx_matlab_tim.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_SIMULINK\stm32f1xx_matlab_tim.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_HAL_Driver\Src\stm32f1xx_hal_rcc.c^
.\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c^
.\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c^
.\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.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_dma.c^
.\MCU_STM32F1xx_Matlab\Drivers\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_exti.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"^