Skip to content

Commit

Permalink
Make rp2040 builds backward-compatible with previous 10.3.1 toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jul 5, 2024
1 parent e02b597 commit 5330790
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Sming/Arch/Rp2040/app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@

# linker flags used to generate the main object file
LDFLAGS += \
-Wl,--no-warn-rwx-segments \
-Wl,--build-id=none \
--specs=nosys.specs \
-mcpu=cortex-m0plus \
-mthumb

ifneq ($(COMPILER_VERSION_MAJOR),10)
LDFLAGS += -Wl,--no-warn-rwx-segments
endif

TARGET_DIS = $(TARGET_OUT:.out=.dis)
TARGET_SYM = $(TARGET_OUT:.out=.sym)

Expand Down

0 comments on commit 5330790

Please sign in to comment.