Closed renestraub closed 11 months ago
Hi @renestraub! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
@renestraub Thanks for reporting this! Fixed here: #65785
Describe the bug
The RP2040 dtsi (zephyr\dts\arm\rpi_pico\rp2040.dtsi) defines the wrong number of IRQ priority bits.
However RP2040 CM0+ implements only 2 bits. Thus IRQ priority settings are wrong in general. The RPI_PICO_DEFAULT_IRQ_PRIORITY (equals to 3) becomes 1.
From the RP2040 datasheet (build-date: 2023-03-02), section 2.4.5
Expected behavior
Impact IRQ priorities don't work as expected. RPI_PICO_DEFAULT_IRQ_PRIORITY (defined as 3) becomes 1.
Logs and console output