Error occurred while regenerating the project in STM32CubeMX 6.13.0 after adding a custom folder path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 5:23 AM - edited ‎2025-02-04 11:42 PM
I'm using STM323H755ZIT6 NUCLEO board, STM32CubeMX 6.13.0 and STM32CubeIDE 1.17.0.
In my scenario, I created a project in STM32CubeMX 6.13.0 and generated the project. After that, I opened this project in STM32CubeIDE 1.17.0 and added paths for external folders in Paths and Symbols. Later, I edited the .IOC file in STM32CubeMX and tried to regenerate the project, but an error popup appeared.ERROR POPUP
After this popup, I clicked the OK button, and STM32CubeMX showed 'Project Successfully Generated.' However, when I tried to build the project in STM32CubeIDE, it failed to build, and errors appeared, such as:
D:/NAVANEETHAN/CoffeeMaker/DisplayControl/Project/DisplayControl/CM7/Core/Src/main.c:116: undefined reference to `HAL_Init'
D:/NAVANEETHAN/InstalledSoftwares/STM32CubeIDE_1.17.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe:
A total of 40 errors were shown, all related to HAL and OS kernel functions.
I attached All errors in Errors.txt
anyone support about this issue
Thank you
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
-
STM32H7 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-13 8:27 PM - edited ‎2025-02-13 8:32 PM
The file ..\STM32CubeIDE\.project needs to be removed. Reopening the project in STM32CubeMX and regenerating the code will resolve the mentioned issue.
Thanks for support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 5:26 AM
@NavaneethanN wrote:an error popup appeared.
ERROR POPUP
It tells you to check that log file - so did you?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 6:04 AM
Hello @NavaneethanN
Could you provide your IOC file in order to further investigate the issue?
KR, Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 8:15 PM
Hi @Souhaib MAZHOUD
i attached the IOC file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-31 8:17 PM
@Andrew Neil
yeah, but i couldn't find anything bro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-13 8:27 PM - edited ‎2025-02-13 8:32 PM
The file ..\STM32CubeIDE\.project needs to be removed. Reopening the project in STM32CubeMX and regenerating the code will resolve the mentioned issue.
Thanks for support.
