Hi everyone,
I'm working on Embedded Coder for programming a STM32F303VCT MCU. In my toolchain I'm using the STM32Cube IDE.
After couple of days trying to build and debug a simple blinking LED program I found the following error.
The Simulink build function that generates the code and builds the model create several .c and .h files. After that the STM32CubeMX generates every necessary files for .project file used in the IDE.
In the main.c and the stm32f3xx_it.c files created by the Embedded Coder Toolbox appear the following comment: /* This section of code is going to be merged by the STM32CubeMX tool. */. Which means that automatically the STM32CubeMX tool should complete the generated the main.c and the stm32f3xx_it.c files of the IDE project located in the Core folder. This folder contains the files that are build into the MCU for the debugging process.
The problem is that this doesn't happen and I have to copy-paste manually those code section's into the Code folder of the IDE project. I guess that it's a problem of the folders pathing and Code Generator options of the STM32CubeMX tool, but I dont' know how to solve it.
Thanks,
Ruben