zephyr/tests/arch/arm/arm_irq_vector_table
Carlo Caione c817b2661f 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>
2022-06-28 12:29:42 +02:00
..
src
CMakeLists.txt test: arm_irq_vector_table: Fix when !CONFIG_GEN_IRQ_VECTOR_TABLE 2022-06-28 12:29:42 +02:00
Kconfig
README.txt
irq-vector-table.ld test: arm_irq_vector_table: Fix when !CONFIG_GEN_IRQ_VECTOR_TABLE 2022-06-28 12:29:42 +02:00
prj.conf
testcase.yaml

README.txt

Title: Installation of ISRs Directly in the Vector Table (ARM Only)

Description:

Verify a project can install ISRs directly in the vector table. Only for
ARM Cortex-M targets.

---------------------------------------------------------------------------

Building and Running Project:

This project outputs to the console.  It can be built and executed on QEMU as
follows:

    make run

---------------------------------------------------------------------------

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    make clean          # discard results of previous builds
                        # but keep existing configuration info
or
    make pristine       # discard results of previous builds
                        # and restore pre-defined configuration info

---------------------------------------------------------------------------

Sample Output:

tc_start() - Test Cortex-M3 IRQ installed directly in vector table
isr0 ran!
isr1 ran!
isr2 ran!
PASS - main.
===================================================================
PROJECT EXECUTION SUCCESSFUL