|
|||||||||||
Technical Support Support Resources
Product Information |
ARM: Project Using RTX5 Library Fails, But Works with RTX5 SourceInformation in this knowledgebase article applies to:
SYMPTOMI am using Keil RTX5 in my project as library and notice, that my application randomly crashes. When I switch in the Manage Run-Time Environment dialog to the Keil RTX5 source variant, then the application runs without this problem. What is the reason for this? CAUSE
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
file. RESOLUTIONFor now, use the Keil RTX5 source variant in your project, as so the __NVIC_PRIO_BITS macro value will also be compiled with the currently correct value for the selected device. STATUSThis is fixed in Keil RTX5 version 5.2.1, which was released with CMSIS pack 5.1.1. SEE ALSO
Last Reviewed: Monday, November 2, 2020 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.