stm32 using sw4stm32 and simulink
I too try with stm32-mat/target. I got few error on compilation with “System Workbench for STM32” but able to run the code with few hacks. I am trying to create simple model with toggle only one pin (PA5-LED on NUCLEOF410RB). Can you post your error; i hope you too use “System Workbench for STM32”.
For some reason, model _step() functions is not reached by IF statement. So i forced to make True and add my own HAL_Delay on the generated code to debug. can you please help if you know the cause for it.
while (1) {
/*Process tasks every solver time*/
if (... || true) {
....
BSP_step();
HAL_Delay(500);
...
}