File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
cmake/linker_script/common Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ if(CONFIG_GEN_SW_ISR_TABLE AND CONFIG_DYNAMIC_INTERRUPTS)
10
10
SECTION sw_isr_table
11
11
INPUT ".gnu.linkonce.sw_isr_table*"
12
12
)
13
+ if (CONFIG_SHARED_INTERRUPTS )
14
+ zephyr_linker_section_configure (
15
+ SECTION sw_isr_table
16
+ INPUT ".gnu.linkonce.shared_sw_isr_table*"
17
+ )
18
+ endif ()
13
19
endif ()
14
20
15
21
zephyr_linker_section (NAME device_states GROUP DATA_REGION NOINPUT ${XIP_ALIGN_WITH_INPUT} )
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ if(CONFIG_GEN_SW_ISR_TABLE AND NOT CONFIG_DYNAMIC_INTERRUPTS)
17
17
SECTION sw_isr_table
18
18
INPUT ".gnu.linkonce.sw_isr_table*"
19
19
)
20
+ if (CONFIG_SHARED_INTERRUPTS )
21
+ zephyr_linker_section_configure (
22
+ SECTION sw_isr_table
23
+ INPUT ".gnu.linkonce.shared_sw_isr_table*"
24
+ )
25
+ endif ()
20
26
endif ()
21
27
22
28
zephyr_linker_section (NAME initlevel_error KVMA RAM_REGION GROUP RODATA_REGION NOINPUT )
You can’t perform that action at this time.
0 commit comments