arch/arm,riscv/rp23xx: Silence "LOAD segment with RWX permissions" linker warnings

Setting the "--no-warn-rwx-segments" linker option

Port of https://github.com/apache/nuttx/pull/16886

Signed-off-by: Serg Podtynnyi <serg@podtynnyi.com>
This commit is contained in:
Serg Podtynnyi 2025-08-28 13:57:08 +07:00
parent c36d067603
commit dc921836b9
No known key found for this signature in database
GPG key ID: 6104D34BAB87C849
2 changed files with 2 additions and 0 deletions

View file

@ -23,6 +23,7 @@
include armv8-m/Make.defs
CFLAGS += -Wno-array-bounds
LDFLAGS += --no-warn-rwx-segments
CHIP_CSRCS += rp23xx_idle.c
CHIP_CSRCS += rp23xx_irq.c

View file

@ -27,6 +27,7 @@ include common/Make.defs
HEAD_ASRC = rp23xx_head.S
CFLAGS += -Wno-array-bounds
LDFLAGS += --no-warn-rwx-segments
CHIP_CSRCS += rp23xx_idle.c
CHIP_CSRCS += rp23xx_irq.c