Skip to content

Commit 452fe47

Browse files
asemjonovsdkalowsk
authored andcommitted
arch: Add config for downstream toolchains to support local ISR tables
Add config for local toolchains to indicate support for local declaration of ISR tables. Signed-off-by: Al Semjonovs <[email protected]>
1 parent ec01159 commit 452fe47

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

arch/Kconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,12 @@ config ARCH_STACKWALK_MAX_FRAMES
440440

441441
menu "Interrupt Configuration"
442442

443+
config TOOLCHAIN_SUPPORTS_ISR_TABLES_LOCAL_DECLARATION
444+
bool
445+
help
446+
Hidden option to signal that toolchain supports local declaration of
447+
interrupt tables.
448+
443449
config ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
444450
bool
445451
default y
@@ -448,7 +454,7 @@ config ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
448454
# List of currently supported architectures
449455
depends on ARM || ARM64
450456
# List of currently supported toolchains
451-
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "gnuarmemb" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "llvm"
457+
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "gnuarmemb" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "llvm" || TOOLCHAIN_SUPPORTS_ISR_TABLES_LOCAL_DECLARATION
452458

453459
config ISR_TABLES_LOCAL_DECLARATION
454460
bool "ISR tables created locally and placed by linker"

0 commit comments

Comments
 (0)