summaryrefslogtreecommitdiff
path: root/components/drivers/pic/SConscript
diff options
context:
space:
mode:
authorRbb666 <[email protected]>2026-07-31 15:07:36 +0800
committerRbb666 <[email protected]>2026-08-12 12:54:50 +0800
commit6b4f34204ed2da80b7c37b912612c65cebc30ce3 (patch)
tree9451c2d5b1b08de290ecc4eddb5a3aed3487e273 /components/drivers/pic/SConscript
parent9a12b2a7b991df7b72a7f6d0d9cc74a3ba5f7c93 (diff)
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.
Diffstat (limited to 'components/drivers/pic/SConscript')
-rw-r--r--components/drivers/pic/SConscript3
1 files changed, 3 insertions, 0 deletions
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']