From d47d413e25732833e252ff9557709f1d917c0608 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 24 Oct 2021 11:08:40 +0200 Subject: [PATCH] esp_system: fix high level interrupt handler not linked for GNU Make In 4972605, high-level interrupt handler hook was renamed from ld_include_highint_hdl to ld_include_panic_highint_hdl. However the change wasn't applied in GNU Make based build system. As a result, the default interrupt handler was linked and features which depended on the high-level interrupt didn't work. Closes https://github.com/espressif/esp-idf/issues/7759 Closes https://github.com/espressif/esp-idf/issues/7447 --- components/esp_system/component.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp_system/component.mk b/components/esp_system/component.mk index c67e3064e1..c9f1815460 100644 --- a/components/esp_system/component.mk +++ b/components/esp_system/component.mk @@ -39,10 +39,10 @@ sections_ld := $(COMPONENT_BUILD_DIR)/ld/sections.ld #specifies its own scripts. LINKER_SCRIPTS += $(ld_output) $(sections_ld) -#ld_include_panic_highint_hdl is added as an undefined symbol because otherwise the -#linker will ignore panic_highint_hdl.S as it has no other files depending on any +#ld_include_highint_hdl is added as an undefined symbol because otherwise the +#linker will ignore highint_hdl.S as it has no other files depending on any #symbols in it. -COMPONENT_ADD_LDFLAGS += -u ld_include_panic_highint_hdl \ +COMPONENT_ADD_LDFLAGS += -u ld_include_highint_hdl \ $(addprefix -T ,$(LINKER_SCRIPTS)) \ # Preprocess memory.ld.in linker script into memory.ld