cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX bug in generating ThreadX files for Cortex_M55

prapk-engr
Associate II

Hello, 

Using the latest CubeMX 6.15.0 I was generating ThreadX for Secure - Non Secure Project (for STM32N6 - Cortex_M55). 

This did not add file : "\Middlewares\ST\threadx\ports\cortex_M55\gnu\src\txe_thread_secure_stack_allocate.c" and so is not added in to the CubeIDE project. 

Where as it's counterpart - "\Middlewares\ST\threadx\ports\cortex_M55\gnu\src\txe_thread_secure_stack_free.c" is getting generated and added to the project. 

Also, compiler includes like "/Secure_nsclib" , "/Drivers/CMSIS/Include" did not get added into the Compiler Include Paths in the CubeIDE project that this CubeMX generates. 

3 REPLIES 3
Ghofrane GSOURI
ST Employee

Hello @prapk-engr 

Could you please provide your IOC in order to reproduce the same issue that you are facing.

THX

GHofrane

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.

Hi @Ghofrane GSOURI 

Here attached the ioc file. 

Thank you

 

Ghofrane GSOURI
ST Employee

Hello @prapk-engr 

Regarding the missing file txe_thread_secure_stack_allocate.c, thank you very much for bringing this issue to our attention.

I have raised this issue with our development team for resolution under internal ticket 216459.

As for your second point, after reviewing the compiler include paths, I can confirm that both /Secure_nsclib and /Drivers/CMSIS/Include have been successfully added.

 

GhofraneGSOURI_0-1756375006921.png

THX

Ghofrane

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.