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
f791211871
zephyr
/
tests
/
kernel
/
sleep
/
prj.conf
5 lines
81 B
Plaintext
Raw
Normal View
History
Unescape
Escape
irq_offload: API to run a function in IRQ context Software interrupts or system calls aren't really appropriate for zephyr, but we have an ongoing need in our test code to run a function with arguments synchronously in interrupt context. This patch introduces irq_offload() which allows us to do this without separate initialization or having to manage fake IRQs in the interrupt controller. ARM assembly code contributed by Benjamin Walsh <benjamin.walsh@windriver.com> ARC is not yet implemented but will be in a subsequent patch. irq_test_common.h has been removed and all test cases updated to use the new API. Change-Id: I9af99ed31b62bc7eb340e32cf65e3d11354d1ec7 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2015-11-18 06:08:45 +08:00
CONFIG_IRQ_OFFLOAD=y
tests: sleep: convert legacy test to ztest This patch do following things : - fix checkpatch warnings - replace conditions with ztest apis wherever necessary Signed-off-by: Punit Vara <punit.vara@intel.com>
2017-10-31 16:44:16 +08:00
CONFIG_ZTEST=y
kernel: cover k_usleep() from user mode No test was exercising the k_usleep() system call, run the test case as a user thread to fix code coverage. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-06-30 08:06:01 +08:00
CONFIG_TEST_USERSPACE=y
timer: remove QEMU_TICKLESS_WORKAROUND Qemu icount mode enabled, remove QEMU_TICKLESS_WORKAROUND. Signed-off-by: Wentong Wu <wentong.wu@intel.com>
2020-05-12 10:32:40 +08:00
CONFIG_MP_NUM_CPUS=1