cancel
Showing results for 
Search instead for 
Did you mean: 

stm32cubeIDE 1.16 errata

alan32
Associate

Hi,

I am developing software on the stm32h743 using threadx and have just updated the IDE to version 1.16.

In the Errata document for IDE 1.16 under target specific issues it says the following:

184869ThreadX should not be available on H7 single core, and the build will perform error when threadX is activated

I am hoping that I have just misunderstood this and there is no issue in using threadx with the stm32h743.

Any feedback very welcome!

Alan

2 REPLIES 2
AZorn.1
Associate III

Hello,
i am wondering, that this old issue is not answered yet.
This question hits me to, maybe we get an answer soon.

best regards

Hi AZorn,

I had this reply from another source - hopefully it of some help:

 

From what we can tell this issue has been solved with 1.16.0 so we think the wiki is not correct.

The issue was seen only when using ThreadX and the dynamic allocation.

 

In the contextual help of Thread memory configuration you have the information :

 

ThreadX

ThreadX needs to pass a pointer to the first free memory location in RAM to the tx_application_define() function, "first_unused_memory" argument.

This requires changes in the linker files to expose this memory location.

  • For EWARM add the following section into the .icf file

place in RAM_region { last section FREE_MEM};

  • For STM32CubeIDE add the following section into the .ld file

._threadx_heap :

{

. = ALIGN(8);

__RAM_segment_used_end__ = .;

. = . + 64K;

. = ALIGN(8);

} >RAM

 

 

To make sure this is done in CubeIDE you need to, in the Tools tab, tick in Code Generation configuration Apply Application regions setting to linker file .