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
674db4df9a
zephyr
/
tests
/
legacy
/
kernel
/
test_sleep
/
prj.conf
4 lines
67 B
Plaintext
Raw
Normal View
History
Unescape
Escape
test_sema: test timeout APIs Test the nano_xxx_sem_wait_timeout() APIs. First, the task waits with a timeout and times out. Then it wait with a timeout, but gets the semaphore in time. Then, multiple timeout tests are done for the fibers, to test the ordering of queueing/dequeueing when timeout occurs, first on one semaphore, then on multiple semaphores. Finally, multiple fibers pend on one semaphore, and they all get the semaphore in time, except the last one: this tests that the timeout is recomputed correctly when timeouts are aborted. Change-Id: I73c174e6f15f38377a14573cb7f531e5e6ca4c07 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2015-06-15 01:44:34 +08:00
CONFIG_NANO_TIMEOUTS=y
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
kernel: add LEGACY_KERNEL option Add global option for legacy configurations and enable by default for backward compatibility. Disable option on tests and keep it on legacy samples and tests. Jira: ZEP-964 Change-Id: I0831e2aa74d438b1ac74eb762186cb220a504beb Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-01-07 21:43:32 +08:00
CONFIG_LEGACY_KERNEL=y