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
6cf496f324
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
CONFIG_IRQ_OFFLOAD=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