ARM: project using RTX 5 library fails, but works with RTX 5 source
Information in this knowledgebase article applies to:
I am using RTX 5 in my project as library and notice, that my application randomly crashes. When I switch in the RTE Runtime Manger to the RTX 5 source, then the application runs without this problem. What is the reason for this?
Problem is, that the library includes the code to configure the
SysTick as the RTX timer source and also calls NVIC_SetPriority() as
part of that. This function is used inline and also depends on a
macro __NVIC_PRIO_BITS, which is taken from the chip specific header
For now, use the RTX 5 in source in your project.
This is fixed in RTX 5.2.1, which was released with CMSIS pack 5.1.1.
Last Reviewed: Wednesday, September 20, 2017
of your data.