diff --git a/samples/userspace/shared_mem/prj.conf b/samples/userspace/shared_mem/prj.conf index 90b88349b6f..b582b76a869 100644 --- a/samples/userspace/shared_mem/prj.conf +++ b/samples/userspace/shared_mem/prj.conf @@ -1 +1,2 @@ +CONFIG_TEST=y CONFIG_USERSPACE=y diff --git a/samples/userspace/shared_mem/src/main.c b/samples/userspace/shared_mem/src/main.c index 45748526790..671efb99c2d 100644 --- a/samples/userspace/shared_mem/src/main.c +++ b/samples/userspace/shared_mem/src/main.c @@ -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()); - }