Skip to content

arm: replace the direct NVIC_*IRQ() call with k_irq_*() calls - #117369

Open
nashif wants to merge 3 commits into
zephyrproject-rtos:mainfrom
nashif:topic/irq-pending/arm-platforms
Open

arm: replace the direct NVIC_*IRQ() call with k_irq_*() calls#117369
nashif wants to merge 3 commits into
zephyrproject-rtos:mainfrom
nashif:topic/irq-pending/arm-platforms

Conversation

@nashif

@nashif nashif commented Aug 25, 2026

Copy link
Copy Markdown
Member
  • drivers: timer: cmsdk_apb: use portable IRQ pending API
  • drivers: counter: crsas_ma2: use portable IRQ pending API
  • boards: digilent: arty_a7: use portable IRQ pending API

nashif added 3 commits August 25, 2026 18:40
Replace direct NVIC pending-state calls with k_irq_set_pending()/
k_irq_is_pending()/k_irq_clear_pending(), dropping the dependency on
cmsis_core.h where nothing else needed it.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Replace the direct NVIC_SetPendingIRQ()/NVIC_GetPendingIRQ() calls
with k_irq_set_pending()/k_irq_is_pending().

Assisted-by: Claude:claude-opus-5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Replace the direct NVIC_GetPendingIRQ() call with k_irq_is_pending()
and drop the cmsis_core.h include.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants