Skip to content

Commit

Permalink
app: zephyr: enable CONFIG_ASSERT in debug overlay
Browse files Browse the repository at this point in the history
Enable CONFIG_ASSERT=y in SOF debug overlay.

Also add a commented out list of additional useful Zephyr debugging
tools to the overlay. These incur a higher runtime cost, so are left
disabled by default. These are all debug tools that have been tested to
work with SOF and found useful.

Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i authored and lgirdwood committed Feb 21, 2023
1 parent 6b91a55 commit 4d67d2f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/debug_overlay.conf
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
CONFIG_DEBUG=y
CONFIG_ASSERT=y

# Following options can be enabled additionally,
# but will incur a higher runtime cost, so are thus
# disabled by default.
#
# CONFIG_STACK_SENTINEL=y
# CONFIG_SYS_HEAP_VALIDATE=y
# CONFIG_SPIN_VALIDATE=y
# CONFIG_SPIN_LOCK_TIME_LIMIT=50000

0 comments on commit 4d67d2f

Please sign in to comment.