From b2e3023aefb2e760a68b06e7c3929cea42332bbd Mon Sep 17 00:00:00 2001 From: Balduin Date: Fri, 4 Sep 2026 15:12:04 +0200 Subject: [PATCH] fix(boards): raise fmu-v6xrt allyes flash region to 8M The ark_fmu-v6xrt_allyes target overflows its 4M-128K flash region since the NuttX 12.12.0 upgrade grew the image to 99.94% and the next small module change (https://github.com/PX4/PX4-Autopilot/pull/28476) tipped it over. The ARK board was copied from px4/fmu-v6xrt before that upgrade raised the px4 allyes region to 6M, so the copy kept the old limit. allyes is a CI coverage build that compiles every module and is never flashed. The region length is only an artificial cap on programming time. Set both allyes scripts to 8M-128K so they stay identical and leave headroom for the coverage build to keep growing. --- boards/ark/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld | 2 +- boards/px4/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/ark/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld b/boards/ark/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld index fe2059c5c83..3d2ee8b1270 100644 --- a/boards/ark/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld +++ b/boards/ark/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld @@ -34,7 +34,7 @@ MEMORY { - flash (rx) : ORIGIN = 0x30020000, LENGTH = 4M-128K /* We have 64M but we do not want to wait to program it all */ + flash (rx) : ORIGIN = 0x30020000, LENGTH = 8M-128K /* We have 64M but we do not want to wait to program it all */ sram (rwx) : ORIGIN = 0x20240000, LENGTH = 2M-256k-512k itcm (rwx) : ORIGIN = 0x00000000, LENGTH = 256K /* TODO FlexRAM partition */ dtcm (rwx) : ORIGIN = 0x20000000, LENGTH = 256K diff --git a/boards/px4/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld b/boards/px4/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld index 0e21d4abee6..1cd7be59414 100644 --- a/boards/px4/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld +++ b/boards/px4/fmu-v6xrt/nuttx-config/scripts/allyes-script.ld @@ -34,7 +34,7 @@ MEMORY { - flash (rx) : ORIGIN = 0x30020000, LENGTH = 6M-128K /* We have 64M but we do not want to wait to program it all */ + flash (rx) : ORIGIN = 0x30020000, LENGTH = 8M-128K /* We have 64M but we do not want to wait to program it all */ sram (rwx) : ORIGIN = 0x20240000, LENGTH = 2M-256k-512k itcm (rwx) : ORIGIN = 0x00000000, LENGTH = 256K /* TODO FlexRAM partition */ dtcm (rwx) : ORIGIN = 0x20000000, LENGTH = 256K