2023-06-23 07:15 PM
Hi, I tried to create and import through the *.ioc file, but it didn't work. The EWARM folder does not appear along with the other project folders. I tried to generate again with the Device Configuration Tool Code Generator, but it didn't work, even with the RTOS Azure appearing on the screen, the EWARM folder is not created in the project.
It also failed to compile if added as C project, seems to be importing as project with Makefile. I tried to clean the project, but it didn't work.
Project generated in CubeMX:
STM32CubeIDE:
Would it be possible to add a way to add the projects generated by CubeMX without having to rework anything, since they use the same database (FW_F4)?
2023-06-24 08:57 AM - edited 2023-06-24 08:59 AM
IMHO CubeMX gives more freedom and flexibility than the IDE integrated version (but also, as you have seen, more ammo to shoot yourself in the leg).
After the project has been generated by any recent CubeMX, it can be opened and built by a range of compatible CubeIDE versions (compatible by both ARM toolchain options and .cproject XML format). Besides of this, Eclipse is just an editor and builder. The update schedule of Cube(MX) and its template library is driven by new MCU models added and bugs fixed. These changes usually do not involve the Eclipse part.
So I can experiment with latest CubeMX updates freely without requesting customers and team members to update their IDE (which they hate to do). Of course, CubeMX and CubeIDE should share same installed libraries and additional packages (normally they do).
What does this mean for you? If a certain CubeMX video shows something that works for you, do it in CubeMX and use your familiar IDE installation to build. If it does not work, rinse and repeat (a-la West World .... but less drama :))
2023-06-24 10:13 AM - edited 2023-06-24 10:28 AM
download and tried for F4 :
- F303 : not possible (grey)
-F407 : possible, can check
so - depends on chip... on F407 discovery - ok.