zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.55k stars 6.46k forks source link

tests/kernel/arm_irq_vector_table: test case cannot quit displaying "isr 0 ran!" #13823

Closed cinlyooi-intel closed 5 years ago

cinlyooi-intel commented 5 years ago

Describe the bug Test case did not quit. It kept displaying "isr 0 ran!" until it times out

To Reproduce Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=nrf52_pca10040 -DARCH=arm
  3. make
  4. make run

Screenshots or console output

***** delaying boot 1000ms (per build configuration) *****
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
...
isr0 ran!
isr0 ran!
isr0 ran!
isr0 ran!
isr0

Environment (please complete the following information):

ioannisg commented 5 years ago

Thanks for reporting this, @cinlyooi-intel The problem is that the IRQ line-0 is wired to the CLOCK_CONTROL IRQ in nRF52x series of SOCs, and that peripheral is generating interrupts.

ioannisg commented 5 years ago

Provided a fix in #13903, @cinlyooi-intel pls, test if you have time.