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
728ce61968
zephyr
/
tests
/
kernel
/
interrupt
/
prj.conf
4 lines
64 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: add tests to validate interrupt nesting feature This test is intended to verify the interrupt nesting. Interrupt nesting feature allows an ISR to be preempted in mid-execution if a higher priority interrupt is signaled. The lower priority ISR resumes execution once the higher priority ISR has completed its processing. Signed-off-by: Ajay Kishore <ajay.kishore@intel.com>
2018-03-09 21:43:10 +08:00
CONFIG_ZTEST=y
tests/kernel/interrupt: Add a simple dynamic interrupt test Platforms which use the GEN_SW_ISR mechanism for interrupt handling can make use of a really simple whitebox trick for verifying that it worked (i.e. that the pointer and argument get placed in the table correctly). Easy and simple way to get some coverage for dynamic IRQs, which is currently entirely missing. Long term we'll want to replace this with a test that uses the API directly and chooses an arch-specific vector to set, and triggers it using arch-specific code, but that's quite a bit more effort and for now we need to land patches to z_irq_connect_dynamic() which show test coverage. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-08-22 03:03:46 +08:00
CONFIG_DYNAMIC_INTERRUPTS=y
tests: interrupt: use one CPU only The test tries to mask CPU interrupts and then enable a k_timer, passing if it didn't fire. This is totally defeated if the interrupt just fires on another CPU that doesn't have interrupts masked. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-02-20 03:50:35 +08:00
CONFIG_MP_NUM_CPUS=1