diff --git a/Sming/Arch/Esp32/app.mk b/Sming/Arch/Esp32/app.mk index 32f75955d9..6cc8658584 100644 --- a/Sming/Arch/Esp32/app.mk +++ b/Sming/Arch/Esp32/app.mk @@ -9,6 +9,11 @@ LDFLAGS += \ -nostdlib \ -Wl,-static +ifeq ($(IDF_VERSION),v5.2) +LDFLAGS += \ + -Wl,--no-warn-rwx-segments +endif + ifdef IDF_TARGET_ARCH_RISCV LDFLAGS += \ -nostartfiles \