Hi everyone,
I am starting with embedded coder for an stm32 (the BG474EDPOW board) and my goal is to be able to use STM32CubeIDE as a debugging tool and also be able to compile the generated code from Simulink Embedded Coder.
I am able to do my simulink model and use build deploy and start, it works on the board but the issue I am having is having a working project in the STM32CubeIDE.
Before generating my code I created the .ioc with CubeMX and in the target hardware ressource i chose the wanted .ioc file.
After generating the code, i have many files generated, so an ert_main.c, a project.c etc etc, but I want to have files that can be used in a STM32CubeIDE project, which I feel is not the case right now as I would have to copy and paste certain files, and certain parts of the code into the main.c file in the STM32CubeIDE project.
My question is : is there a way to direclty create a project with embedded coder / simulink that can be opened in STM32CubeIDE and which can be buildable / debuggable etc ?
For instance, when using embedded coder for TI targets, so for example C2000 targets, when generating the code there is a project which can be opened direclty in CCS and which can be build/debugged etc in CCS.
Is that possible for STM32 targets ? Am I missing a step ?
Thank you very much for your answers.