From 725ce1d24529e3911dc35d08db4cf5acb9ffd06d Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sun, 9 Aug 2026 13:33:24 -0400 Subject: Always emit link section Makes it easier to integrate the package into ThreadX OS builds. I don't have to add another branch for that OS. --- chips/imxrt1180/src/rt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chips/imxrt1180/src') diff --git a/chips/imxrt1180/src/rt.rs b/chips/imxrt1180/src/rt.rs index a6b3663..32169fe 100644 --- a/chips/imxrt1180/src/rt.rs +++ b/chips/imxrt1180/src/rt.rs @@ -582,7 +582,7 @@ mod _vectors { _handler: unsafe extern "C" fn(), _reserved: u32, } - #[cfg_attr(target_os = "none", unsafe(link_section = ".vector_table.interrupts"))] + #[unsafe(link_section = ".vector_table.interrupts")] #[unsafe(no_mangle)] pub static __INTERRUPTS: [Vector; 237] = [ Vector { _handler: TMR1 }, -- cgit v1.2.3