Skip to content
Snippets Groups Projects
Commit ab05acbf authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

core: Mark openocd info variables read-only

parent 0f917352
No related branches found
No related tags found
No related merge requests found
...@@ -65,13 +65,13 @@ static uint32_t runqueue_bitcache = 0; ...@@ -65,13 +65,13 @@ static uint32_t runqueue_bitcache = 0;
#endif #endif
FORCE_USED_SECTION FORCE_USED_SECTION
uint8_t max_threads = sizeof(sched_threads) / sizeof(thread_t*); const uint8_t max_threads = sizeof(sched_threads) / sizeof(thread_t*);
#ifdef DEVELHELP #ifdef DEVELHELP
/* OpenOCD can't determine struct offsets and additionally this member is only /* OpenOCD can't determine struct offsets and additionally this member is only
* available if compiled with DEVELHELP */ * available if compiled with DEVELHELP */
FORCE_USED_SECTION FORCE_USED_SECTION
uint8_t _tcb_name_offset = offsetof(thread_t, name); const uint8_t _tcb_name_offset = offsetof(thread_t, name);
#endif #endif
#ifdef MODULE_SCHEDSTATISTICS #ifdef MODULE_SCHEDSTATISTICS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment