arm: vector_table: Automatically place the IRQ vector table
Instead of using a custom linker script, rely on the automatic placement of the IRQ vector table. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
b07907057b
commit
219d5b5adb
2 changed files with 1 additions and 4 deletions
|
@ -33,3 +33,4 @@ add_subdirectory_ifdef(CONFIG_CPU_AARCH32_CORTEX_R cortex_a_r)
|
|||
add_subdirectory_ifdef(CONFIG_CPU_AARCH32_CORTEX_A cortex_a_r)
|
||||
|
||||
zephyr_linker_sources(ROM_START SORT_KEY 0x0vectors vector_table.ld)
|
||||
zephyr_linker_sources(ROM_START SORT_KEY 0x1vectors cortex_m/vector_table_pad.ld)
|
||||
|
|
|
@ -41,10 +41,6 @@ _vector_start = .;
|
|||
KEEP(*(.exc_vector_table))
|
||||
KEEP(*(".exc_vector_table.*"))
|
||||
|
||||
KEEP(*(_IRQ_VECTOR_TABLE_SECTION_SYMS))
|
||||
|
||||
KEEP(*(.vectors))
|
||||
|
||||
_vector_end = .;
|
||||
|
||||
#include "cortex_m/vector_table_pad.ld"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue