Skip to content

Commit

Permalink
Disable esp32 warning about RWX segments
Browse files Browse the repository at this point in the history
Check introduced with linker (LD, binutils 2.39) from IDF 5.2 onwards
This specifically refers to IRAM, which we do actually need to be writeable and executable
  • Loading branch information
mikee47 committed Mar 24, 2024
1 parent c89d2ee commit 5733d58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sming/Arch/Esp32/app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 5733d58

Please sign in to comment.