2024-07-05 11:12 AM - edited 2024-07-06 06:17 AM
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:
184869 | ThreadX 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
2024-07-26 07:18 AM
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
2024-07-31 02:51 AM
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.
place in RAM_region { last section FREE_MEM};
._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 .