From 6b4f34204ed2da80b7c37b912612c65cebc30ce3 Mon Sep 17 00:00:00 2001 From: Rbb666 Date: Fri, 31 Jul 2026 15:07:36 +0800 Subject: feat(dm): support OFW on Cortex-M targets Add the ARM NVIC PIC driver, no-MMU I/O mapping, built-in FDT support, and Cortex-M CPU hooks required by the native RT-Thread device model. --- components/drivers/pic/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/drivers/pic/SConscript') diff --git a/components/drivers/pic/SConscript b/components/drivers/pic/SConscript index 53cb66e1ff..4951866b39 100644 --- a/components/drivers/pic/SConscript +++ b/components/drivers/pic/SConscript @@ -10,6 +10,9 @@ CPPPATH = [cwd + '/../include'] src = ['pic.c', 'pic_rthw.c'] +if GetDepend(['RT_PIC_ARM_NVIC']): + src += ['pic-arm-nvic.c'] + if GetDepend(['RT_PIC_ARM_GIC']) or GetDepend(['RT_PIC_ARM_GIC_V3']): src += ['pic-gic-common.c'] -- cgit v1.3.1