STCUBEMX incomplete ThreadX code generation error on linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-10 8:04 PM
Hi,
When I tried to generate a project with ThreadX for STM32N6, STCUBEMX generated incomplete code.
CubeMX Ver : 6.14.0
MCU: STM32N6
Platform: Ubuntu 24.04
ioc file attached.
Solved! Go to Solution.
- Labels:
-
Bug-report
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-16 4:12 AM
Hello @sai2 ,
Thank you for bringing this issue to our attention.
An internal ticket is raised to the Development team under this number: 207773.
Thanks.
Mahmoud
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-04-11 1:11 AM - edited ‎2025-04-11 7:05 AM
Hello @sai2 ,
First let me thank you for posting and welcome to the ST Community.
Your request is under investigation, and I will get back to you ASAP.
I suggest also that you provide a capture of the issue.
Best Regards.
Mahmoud
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-04-13 6:23 PM - edited ‎2025-04-13 6:26 PM
I attached a build log and screenshot of the folder structure. As you can see in the screenshot, there are duplicated cortex_m55 and cortex_M55 folder generated under middleware/ST/threadx/ports and there are no source code generated under middleware/ST/threadx/ports/cortex_M55/gnu/src. Generating project under window environment works and dont have duplicated "cortex_M55" folder.
There is another issue surfaced when I tried to import example application, which also result in incompleted project and was unable to build. Again, importing example project under window environment works fine.
Steps to reproduce:
1. Import STM32Cube Example
2. select "Ux_Host_VIDEO" example for "STM32N6570-DK"
3. build (fail)
error (for some reason I was unable to post the log file for example project)
make: *** No rule to make target '/home/sai/STM32CubeIDE/workspace_1.16.1/Ux_Host_VIDEO/Middlewares/ST/threadx/ports/cortex_m55/gnu/src/tx_misra.s', needed by 'Middlewares/ThreadX/Port/tx_misra.o'. Stop.
make: *** Waiting for unfinished jobs....
"make -j14 all" terminated with exit code 2. Build might be incomplete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-16 4:12 AM
Hello @sai2 ,
Thank you for bringing this issue to our attention.
An internal ticket is raised to the Development team under this number: 207773.
Thanks.
Mahmoud
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.
