Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rtl872x] fix openocd FreeRTOS thread view #2723

Merged
merged 2 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion hal/src/nRF52840/concurrent_hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include "service_debug.h"

// For OpenOCD FreeRTOS support
extern const int __attribute__((used)) uxTopUsedPriority = configMAX_PRIORITIES;
extern const int __attribute__((used)) uxTopUsedPriority = configMAX_PRIORITIES - 1;

// use the newer name
typedef xTaskHandle TaskHandle_t;
Expand Down
2 changes: 1 addition & 1 deletion hal/src/rtl872x/concurrent_hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#endif // PLATFORM_ID == 6 || PLATFORM_ID == 8

// For OpenOCD FreeRTOS support
extern const int __attribute__((used)) uxTopUsedPriority = configMAX_PRIORITIES;
extern const int __attribute__((used)) uxTopUsedPriority = configMAX_PRIORITIES - 1;

// use the newer name
typedef xTaskHandle TaskHandle_t;
Expand Down