samples: shared_mem: fix exception printouts
Enable CONFIG_TEST so that we get the necessary defines for console output when a fatal error happens, as well as assertion checking. Remove an unnecessary self-abort in main(), this causes an assert to fail. Letting main() return does the same thing, more gracefully. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
2abfccb352
commit
8eecb3717a
2 changed files with 1 additions and 2 deletions
|
@ -1 +1,2 @@
|
|||
CONFIG_TEST=y
|
||||
CONFIG_USERSPACE=y
|
||||
|
|
|
@ -161,8 +161,6 @@ void main(void)
|
|||
k_thread_start(&ct_thread);
|
||||
k_sem_give(&allforone);
|
||||
printk("CT thread started\n");
|
||||
k_thread_abort(k_current_get());
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue