matlab_stm_emulate/MCU_STM32F1xx_Matlab/stm32f1xx_matlab_conf.json

305 lines
7.8 KiB
JSON

{
"Code": {
"Sources": {
"Type": "files",
"Options": [
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c",
"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_tim.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c",
"Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c",
"stm32f1xx_matlab_conf.c",
"Drivers/STM32F1xx_SIMULINK/stm32f1xx_matlab_gpio.c",
"Drivers/STM32F1xx_SIMULINK/stm32f1xx_matlab_tim.c",
"Drivers/STM32F1xx_SIMULINK/stm32f1xx_periph_registers.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": {
"Functions": {
"PeriphInit": {
"Options": [
"Initialize_Periph_Sim()"
]
},
"PeriphSimulation": {
"Options": [
"Simulate_TIMs()",
"Simulate_GPIO_BSRR()"
]
},
"PeriphDeinit": {
"Options": [
"deInitialize_Periph_Sim()"
]
}
}
},
"RCC": {
"Defines": {
"HCLK_Clock": {
"Prompt": "HCLK Clock (Hz)",
"Def": "HCLK_Value",
"Type": "edit",
"Default": 7.2E+7,
"NewRow": true
},
"ABP1_Clock": {
"Prompt": "ABP1 Clock (Hz)",
"Def": "ABP1_Value",
"Type": "edit",
"Default": 7.2E+7,
"NewRow": true
},
"ABP1_TIMS_Clock": {
"Prompt": "ABP1 Tim's Clock (Hz)",
"Def": "ABP1_TIMS_Value",
"Type": "edit",
"Default": 7.2E+7,
"NewRow": true
},
"ABP2_Clock": {
"Prompt": "ABP2 Clock (Hz)",
"Def": "ABP2_Value",
"Type": "edit",
"Default": 7.2E+7,
"NewRow": true
},
"ABP2_TIMS_Clock": {
"Prompt": "ABP2 Tim's Clock (Hz)",
"Def": "ABP2_TIMS_Value",
"Type": "edit",
"Default": 7.2E+7,
"NewRow": true
}
}
},
"TIM": {
"Defines": {
"TIM1_Enable": {
"Prompt": "TIM1 Enable",
"Def": "USE_TIM1",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM1_UP_TIM10_Handler": {
"Prompt": "TIM1_UP_TIM10 Handler",
"Def": "USE_TIM1_UP_TIM10_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM2_Enable": {
"Prompt": "TIM2 Enable",
"Def": "USE_TIM2",
"Type": "checkbox",
"Default": true,
"NewRow": true
},
"TIM2_Handler": {
"Prompt": "TIM2 Handler",
"Def": "USE_TIM2_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM3_Enable": {
"Prompt": "TIM3 Enable",
"Def": "USE_TIM3",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM3_Handler": {
"Prompt": "TIM3 Handler",
"Def": "USE_TIM3_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM4_Enable": {
"Prompt": "TIM4 Enable",
"Def": "USE_TIM4",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM4_Handler": {
"Prompt": "TIM4 Handler",
"Def": "USE_TIM4_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM5_Enable": {
"Prompt": "TIM5 Enable",
"Def": "USE_TIM5",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM5_Handler": {
"Prompt": "TIM5 Handler",
"Def": "USE_TIM5_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM6_Enable": {
"Prompt": "TIM6 Enable",
"Def": "USE_TIM6",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM6_Handler": {
"Prompt": "TIM6 Handler",
"Def": "USE_TIM6_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM7_Enable": {
"Prompt": "TIM7 Enable",
"Def": "USE_TIM7",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM7_Handler": {
"Prompt": "TIM7 Handler",
"Def": "USE_TIM7_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM8_Enable": {
"Prompt": "TIM8 Enable",
"Def": "USE_TIM8",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM8_UP_TIM13_Handler": {
"Prompt": "TIM8_UP_TIM13 Handler",
"Def": "USE_TIM8_UP_TIM13_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM9_Enable": {
"Prompt": "TIM9 Enable",
"Def": "USE_TIM9",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM1_BRK_TIM9_Handler": {
"Prompt": "TIM1_BRK_TIM9 Handler",
"Def": "USE_TIM1_BRK_TIM9_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM10_Enable": {
"Prompt": "TIM10 Enable",
"Def": "USE_TIM10",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM11_Enable": {
"Prompt": "TIM11 Enable",
"Def": "USE_TIM11",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM1_TRG_COM_TIM11_Handler": {
"Prompt": "TIM1_TRG_COM_TIM11 Handler",
"Def": "USE_TIM1_TRG_COM_TIM11_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM12_Enable": {
"Prompt": "TIM12 Enable",
"Def": "USE_TIM12",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM8_BRK_TIM12_Handler": {
"Prompt": "TIM8_BRK_TIM12 Handler",
"Def": "USE_TIM8_BRK_TIM12_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
},
"TIM13_Enable": {
"Prompt": "TIM13 Enable",
"Def": "USE_TIM13",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM14_Enable": {
"Prompt": "TIM14 Enable",
"Def": "USE_TIM14",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"TIM8_TRG_COM_TIM14_Handler": {
"Prompt": "TIM8_TRG_COM_TIM14 Handler",
"Def": "USE_TIM8_TRG_COM_TIM14_HANDLER",
"Type": "checkbox",
"Default": false,
"NewRow": false
}
}
},
"ADC": {
"Defines": {
"ADC1_Enable": {
"Prompt": "ADC1 Enable",
"Def": "ADC1_ENABLE",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"ADC2_Enable": {
"Prompt": "ADC2 Enable",
"Def": "ADC2_ENABLE",
"Type": "checkbox",
"Default": false,
"NewRow": true
},
"Sample_Rate": {
"Prompt": "Sample Rate (Hz)",
"Def": "SAMPLE_RATE",
"Type": "edit",
"Default": 48000,
"NewRow": true
}
}
}
}