STM32U5 IAP_main example NOT working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-03 07:42 AM
Hi,
I am using STM32CubeMX version 6.11.0 .
I want to test the "IAP_main" example for the STM32U575I-EV.
I start the project as follows :
Then when I try to Generate Code for the STM32CubeIDE in CubeMX the following error occurs:
The code gets generated and I can open it in STM32CubeIDE but it doesn't build properly:
The build errors says that the MX functions called in the main file are not linked and there is no reference to them.
I have attached the build log where the errors are displayed.
The project is as it is generated by CubeMX with no modification made.
What may be happening here ? Some CubeMX libraries that for the STM32U5 do not work well ?
If I launch the same example for the STM32H573I-DK it doesn't have any problem and it builds as expected.
- Labels:
-
SDIO-SDMMC
-
STM32CubeMX
-
STM32U5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 06:48 AM - edited ‎2024-04-04 06:49 AM
Hello @jacopokunak and welcome to the Community :)
I can't reproduce the issue when using the latest release of STM32CubeMX (v6.11.0) and STM32CubeIDE (v1.15.0).
Could you please try with STM32CubeIDE v1.15.0?
Then, please keep me informed about your update.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 07:13 AM
Hi,
Try with standard setting : ..under root ->
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 07:48 AM
Hi AScha.3,
If I select Generate Under Root the first error disappears but new build errors are generated:
All these files do not build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-04 09:28 AM - edited ‎2024-04-04 09:30 AM
So look at the errors , it telling why...especially the first error (often same reason (include missing etc.)).
Or show it. :)
+
Do : generate code (again) in Cube/ioc , then compile again.