Skip to content

Commit bf98113

Browse files
abrodkincarlescufi
authored andcommitted
OpenOCD: Make incompatible with SMP
In case of SMP (i.e. multiple execution units processing the same list of tasks) we cannot use the same data structures for getting data about active tasks as with just one processor (UP). So until explicit support of SMP is added make sure we don't allow to select both OPENOCD & SMP simultaneously. Moreover starting from commit a203d21 ("kernel: remove legacy fields in _kernel") this will lead to build-time error if MP_NUM_CPUS > 1. Signed-off-by: Alexey Brodkin <[email protected]>
1 parent cca0b79 commit bf98113

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/debug/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ config EXCEPTION_STACK_TRACE
273273

274274
config OPENOCD_SUPPORT
275275
bool "OpenOCD support [EXPERIMENTAL]"
276+
depends on !SMP
276277
select THREAD_MONITOR
277278
select THREAD_NAME
278279
help

0 commit comments

Comments
 (0)