Skip to content

Commit c48016f

Browse files
twcook86danielinux
authored andcommitted
Turn off linker warning due to ramcode rwx
1 parent 0926705 commit c48016f

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
@@ -1203,7 +1203,7 @@ ifeq ($(TARGET),lpc55s69)
12031203
-I$(MCUXPRESSO_CMSIS)/Core/Include
12041204
CFLAGS+=-DCPU_$(MCUXPRESSO_CPU)
12051205
CFLAGS+=-mcpu=cortex-m33 -DCORTEX_M33 -U__ARM_FEATURE_DSP
1206-
LDFLAGS+=-mcpu=cortex-m33
1206+
LDFLAGS+=-mcpu=cortex-m33 -Wl,--no-warn-rwx-segments
12071207
OBJS+=\
12081208
$(MCUXPRESSO_PROJECT_TEMPLATE)/clock_config.o \
12091209
$(MCUXPRESSO_DRIVERS)/drivers/fsl_clock.o \

test-app/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ ifeq ($(TARGET),lpc55s69)
662662
ifeq (,$(findstring nosys.specs,$(LDFLAGS)))
663663
LDFLAGS+=--specs=nosys.specs
664664
endif
665+
LDFLAGS+=-Wl,--no-warn-rwx-segments
665666
endif
666667

667668
ifeq ($(TARGET),imx_rt)

0 commit comments

Comments
 (0)