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/include/drivers/pic.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/drivers/include') diff --git a/components/drivers/include/drivers/pic.h b/components/drivers/include/drivers/pic.h index c624d249d1..71bdc50dde 100755 --- a/components/drivers/include/drivers/pic.h +++ b/components/drivers/include/drivers/pic.h @@ -214,4 +214,8 @@ rt_err_t rt_pic_irq_parent_set_triger_mode(struct rt_pic_irq *pirq, rt_uint32_t rt_err_t rt_pic_init(void); +#ifdef RT_PIC_ARM_NVIC +void rt_hw_nvic_dispatch(void); +#endif + #endif /* __PIC_H__ */ -- cgit v1.3.1