Добавлена модель МК матлаб с компилятором MinGW
Но по какой-то приниче запуск модели лочит MCU.mexw64 и его нельзя удалить. Но при этом можно переименовать... непонятно крч
This commit is contained in:
188
MATLAB/MCU_Wrapper/WrapperConfig.json
Normal file
188
MATLAB/MCU_Wrapper/WrapperConfig.json
Normal file
@@ -0,0 +1,188 @@
|
||||
{
|
||||
"wrapperPath": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": ".\\MCU_Wrapper"
|
||||
},
|
||||
"enableDebug": {
|
||||
"Prompt": "Enable Debug",
|
||||
"Type": "checkbox",
|
||||
"Default": true
|
||||
},
|
||||
"mcuClk": {
|
||||
"Prompt": "MCU Core Clock (MHz)",
|
||||
"Type": "edit",
|
||||
"Default": "72*10^6",
|
||||
"Def": "MCU_CORE_CLOCK"
|
||||
},
|
||||
"threadCycles": {
|
||||
"Prompt": "Deckstop cycles per MCU simulation step",
|
||||
"Type": "edit",
|
||||
"Default": 255,
|
||||
"Def": "DEKSTOP_CYCLES_FOR_MCU_APP"
|
||||
},
|
||||
"enableThreading": {
|
||||
"Prompt": "Run MCU main() in a separate thread",
|
||||
"Type": "checkbox",
|
||||
"Default": true,
|
||||
"Def": "RUN_APP_MAIN_FUNC_THREAD"
|
||||
},
|
||||
"enableDeinit": {
|
||||
"Prompt": "Deinitialize model after simulation",
|
||||
"Type": "checkbox",
|
||||
"Default": true,
|
||||
"Def": "DEINITIALIZE_AFTER_SIM"
|
||||
},
|
||||
"periphPath": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": ".\\MCU_STM32_Matlab\\stm32f4xx_matlab_conf.json"
|
||||
},
|
||||
"inNumb": {
|
||||
"Prompt": "Number of Input Ports",
|
||||
"Type": "spinbox",
|
||||
"Default": 2
|
||||
},
|
||||
"in_port_1_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "ADC"
|
||||
},
|
||||
"in_port_1_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 6
|
||||
},
|
||||
"in_port_2_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "IN"
|
||||
},
|
||||
"in_port_2_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"in_port_3_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "IN"
|
||||
},
|
||||
"in_port_3_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"in_port_4_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "IN"
|
||||
},
|
||||
"in_port_4_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"in_port_5_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "IN"
|
||||
},
|
||||
"in_port_5_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"outNumb": {
|
||||
"Prompt": "Number of Output Ports",
|
||||
"Type": "spinbox",
|
||||
"Default": 2
|
||||
},
|
||||
"out_port_1_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "THYR"
|
||||
},
|
||||
"out_port_1_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 6
|
||||
},
|
||||
"out_port_2_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "OUT"
|
||||
},
|
||||
"out_port_2_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"out_port_3_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "OUT"
|
||||
},
|
||||
"out_port_3_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"out_port_4_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "OUT"
|
||||
},
|
||||
"out_port_4_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"out_port_5_name": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": "OUT"
|
||||
},
|
||||
"out_port_5_width": {
|
||||
"Prompt": "",
|
||||
"Type": "spinbox",
|
||||
"Default": 16
|
||||
},
|
||||
"appWrapperPath": {
|
||||
"Prompt": "",
|
||||
"Type": "edit",
|
||||
"Default": ".\\app_wrapper"
|
||||
},
|
||||
"srcTable": {
|
||||
"Prompt": "",
|
||||
"Type": "customtable",
|
||||
"Default": [
|
||||
"..\\UPP\\Core\\Src\\main.c",
|
||||
"..\\UPP\\Core\\Src\\stm32f4xx_hal_msp.c",
|
||||
"..\\UPP\\Core\\Src\\adc.c",
|
||||
"..\\UPP\\Core\\Src\\gpio.c",
|
||||
"..\\UPP\\Core\\Src\\stm32f4xx_it.c",
|
||||
"..\\UPP\\Core\\Src\\system_stm32f4xx.c",
|
||||
"..\\UPP\\Core\\Src\\tim.c"
|
||||
],
|
||||
"Def": "Files"
|
||||
},
|
||||
"incTable": {
|
||||
"Prompt": "",
|
||||
"Type": "customtable",
|
||||
"Default": [
|
||||
"..\\UPP\\Core\\Inc",
|
||||
"..\\UPP\\Core\\ZeroCross",
|
||||
"..\\UPP\\Core\\UPP",
|
||||
"..\\UPP\\Core\\Thyristors",
|
||||
"..\\UPP\\Core\\Configs",
|
||||
"..\\UPP\\AllLibs\\MyLibs\\MyLibs\\Inc"
|
||||
],
|
||||
"Def": "Paths"
|
||||
},
|
||||
"userDefs": {
|
||||
"Prompt": "User Defines",
|
||||
"Type": "textarea",
|
||||
"Default": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user