Skip to content

nuvoton-npcx: use portable IRQ pending API in drivers/socs - #117381

Open
nashif wants to merge 2 commits into
zephyrproject-rtos:mainfrom
nashif:topic/irq-pending/nuvoton-npcx
Open

nuvoton-npcx: use portable IRQ pending API in drivers/socs#117381
nashif wants to merge 2 commits into
zephyrproject-rtos:mainfrom
nashif:topic/irq-pending/nuvoton-npcx

Conversation

@nashif

@nashif nashif commented Aug 25, 2026

Copy link
Copy Markdown
Member
  • drivers: peci: npcx: use portable IRQ pending API
  • mgmt: ec_host_cmd: shi_npcx: use portable IRQ pending API

nashif added 2 commits August 25, 2026 18:39
Replace direct NVIC_SetPendingIRQ()/NVIC_ClearPendingIRQ() calls with
k_irq_set_pending()/k_irq_clear_pending(), dropping the dependency on
cmsis_core.h where nothing else needed it. These platforms are
plain-NVIC Cortex-M, so the pending-state capabilities are always
available where this code builds.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Replace direct NVIC_SetPendingIRQ()/NVIC_ClearPendingIRQ() calls with
k_irq_set_pending()/k_irq_clear_pending(), dropping the dependency on
cmsis_core.h where nothing else needed it. These platforms are
plain-NVIC Cortex-M, so the pending-state capabilities are always
available where this code builds.

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

Labels

area: ec_host_cmd area: PECI Platform Environment Control Interface platform: Nuvoton NPCX Nuvoton NPCX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants