Skip to content

Commit 9376718

Browse files
committed
Turn off linker warning due to ramcode rwx
1 parent e50466c commit 9376718

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

arch.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ ifeq ($(TARGET),lpc55s69)
11321132
-I$(MCUXPRESSO_CMSIS)/Core/Include
11331133
CFLAGS+=-DCPU_$(MCUXPRESSO_CPU)
11341134
CFLAGS+=-mcpu=cortex-m33 -DCORTEX_M33 -U__ARM_FEATURE_DSP
1135-
LDFLAGS+=-mcpu=cortex-m33
1135+
LDFLAGS+=-mcpu=cortex-m33 -Wl,--no-warn-rwx-segments
11361136
OBJS+=\
11371137
$(MCUXPRESSO_PROJECT_TEMPLATE)/clock_config.o \
11381138
$(MCUXPRESSO_DRIVERS)/drivers/fsl_clock.o \

test-app/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ ifeq ($(TARGET),lpc55s69)
585585
ifeq (,$(findstring nosys.specs,$(LDFLAGS)))
586586
LDFLAGS+=--specs=nosys.specs
587587
endif
588+
LDFLAGS+=-Wl,--no-warn-rwx-segments
588589
endif
589590

590591
ifeq ($(TARGET),imx_rt)

0 commit comments

Comments
 (0)