Skip to content
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@dumarjo @nattgris
21 lines (17 sloc) 588 Bytes
* Since at least FreeRTOS V7.5.3 uxTopUsedPriority is no longer
* present in the kernel, so it has to be supplied by other means for
* OpenOCD's threads awareness.
* Add this file to your project, and, if you're using --gc-sections,
* ``--undefined=uxTopUsedPriority'' (or
* ``-Wl,--undefined=uxTopUsedPriority'' when using gcc for final
* linking) to your LDFLAGS; same with all the other symbols you need.
#include "FreeRTOS.h"
#ifdef __GNUC__
#define USED __attribute__((used))
#define USED
const int USED uxTopUsedPriority = configMAX_PRIORITIES - 1;
You can’t perform that action at this time.