This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
1b3d590e22
zephyr
/
samples
/
synchronization
/
prj.conf
5 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
samples: micro: add a true hello world sample Change-Id: I01707428ac49c3c35b2c8bcc625a21d88cf6eb33 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2015-12-18 22:54:07 +08:00
CONFIG_STDOUT_CONSOLE=y
samples: synchronisation: set thread names - Use new k_thread_name_set to set thread names. - Use board name in sample instead of architecture. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-09-09 23:08:54 +08:00
# enable to use thread names
samples: synchronisation: run thread_b on cpu 0 in SMP mode Always run thread_b on CPU 0 by setting cpu_mask if on SMP system. Run this with CONFIG_SCHED_CPU_MASK=y set on an SMP system. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-08-06 04:18:54 +08:00
CONFIG_THREAD_NAME=y
samples/synchronization: Clean up SMP CPU pinning example There was some code to demonstrate the cpu_mask API here, but it was asymmetric (only thread B was pinned) and assumed exactly two CPUs. Start both threads pinned to CPUs 0 and 1 from an external main, and predicate the pinning on there actually being more than one SMP CPU. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-02-13 05:04:32 +08:00
CONFIG_SCHED_CPU_MASK=y