BUG: SW4STM32 won't compile Nucleo-STM32G474 : get a fatal error: cmsis_os2.h: No such file or directory . See attached screen shot).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-12 6:39 PM
Making a port from F334 to G474 controller, used CubeMx 5.3 to do 1 PWM using HRTIM CHA 50% duty as a test and got a this error during compile.
Solved! Go to Solution.
- Labels:
-
Bug-report
-
STM32G4 Series
-
TIM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-13 12:20 PM
I found the problem. It got somehow linked into the wrong IDE from the CubeMX as the selected IDE was EWARM instead of SW4STM32.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-12 6:43 PM
Another bit of info: This was on a mac version of SW4STM32.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-13 12:20 PM
I found the problem. It got somehow linked into the wrong IDE from the CubeMX as the selected IDE was EWARM instead of SW4STM32.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-20 9:56 PM
Isn't any solution for this??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-21 5:56 AM
That's a while ago. I've been able to compile with the G474 using a simple led test program since then. Must of went away with a newer release. I suggest you write a simple program to verify if you're concern and report it if it is still problem now. Just starting to check out the STM32CubeIDE 1.2. It's a much more efficient enviroment for development and the way to go if everything works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-21 6:26 AM
Thanks!! I succeed to build my project. I installed STM32CubeIDE 1.2. Actually I use Macbook Pro. STM32CubeIDE 1.2 works well!.​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-21 8:10 AM
Glad to help.:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-12 1:38 AM
Just in case somebody runs in this issue. Had the same problem with version 6.8.1.
The problem is caused by the default toolchain setting, which is EWARM. If you change to STM32CubeIDE later, the files of EWARM project will not be deleted and are causing above problem.
Workaround - delete all files in folder except the .ioc file. Then open .ioc with MX, select correct toolchain (STM32cubeIDE) and re-generate the project files.
