Skip to content

Commit 41d342b

Browse files
keith-packardduynguyenxa
authored andcommitted
subsys/debug: Stub out debug thread info for RX arch
This architecture is missing lots of support bits. Stub out this piece so we can get more things building. Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent 7dc9804 commit 41d342b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

subsys/debug/thread_info.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ const size_t _kernel_thread_info_offsets[] = {
9292
* unimplemented to avoid the #warning below.
9393
*/
9494
[THREAD_INFO_OFFSET_T_STACK_PTR] = THREAD_INFO_UNIMPLEMENTED,
95+
#elif defined(CONFIG_RX)
96+
/* RX doesn't store *anything* inside thread objects yet */
97+
[THREAD_INFO_OFFSET_T_STACK_PTR] = THREAD_INFO_UNIMPLEMENTED,
9598
#else
9699
/* Use a special value so that OpenOCD knows that obtaining the stack
97100
* pointer is not possible on this particular architecture.

0 commit comments

Comments
 (0)