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
518589efb4
zephyr
/
tests
/
kernel
/
mp
/
prj.conf
3 lines
28 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests/kernel: Simple test for multiprocessor start API Starts the second CPU and verifies that it can set a variable while we spin on the first. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-01-25 07:50:45 +08:00
CONFIG_ZTEST=y
tests/kernel/mp: Update the MP test to run on emulated platforms This was a very early test and got bitrotten inside a esp32-only whitelist. Make it run generically. SMP must be forced off by the test (it's commonly a platform default). Add a build-time failure when the configuration is single-CPU, for clarity. Filter the test likewise so it runs on all supported systems. Also, the key argument to the CPU startup function is vestigial and the test was being too strict by requiring it to be non-zero. Finally, the qemu command line needs to predicate the "-smp" argument on CONFIG_MP_NUM_CPUS and not just CONFIG_SMP so we have an extra CPU to test against. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-10-04 01:03:58 +08:00
CONFIG_SMP=n