test: arm_irq_vector_table: Fix when !CONFIG_GEN_IRQ_VECTOR_TABLE
This test is based on the wrong assumption that the IRQ vector table symbols are always placed by the linker script also when CONFIG_GEN_IRQ_VECTOR_TABLE is not actually set. This is of course broken with the reworked mechanism of the IRQ vector table placement. Fix the test by reintroducing the old behaviour by forcefully reinstating the symbols in the linker script. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
219d5b5adb
commit
c817b2661f
2 changed files with 5 additions and 0 deletions
|
@ -7,3 +7,5 @@ project(arm_irq_vector_table)
|
|||
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
|
||||
zephyr_linker_sources(ROM_START SORT_KEY 0x0vectors irq-vector-table.ld)
|
||||
|
|
3
tests/arch/arm/arm_irq_vector_table/irq-vector-table.ld
Normal file
3
tests/arch/arm/arm_irq_vector_table/irq-vector-table.ld
Normal file
|
@ -0,0 +1,3 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
KEEP(*(_IRQ_VECTOR_TABLE_SECTION_SYMS))
|
Loading…
Add table
Add a link
Reference in a new issue