Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
3 changes: 3 additions & 0 deletions src/ipc/ipc4/handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ static int ipc4_set_pipeline_state(struct ipc4_message_request *ipc4)
int ret = 0;
int i;

/* raise an assert on purpose for testing */
assert(0);

state.primary.dat = ipc4->primary.dat;
state.extension.dat = ipc4->extension.dat;
cmd = state.primary.r.ppl_state;
Expand Down