From 7cadb8723707f5c9842c45f47d036f99f4444cb7 Mon Sep 17 00:00:00 2001 From: Aleksandar Stanoev Date: Thu, 3 Jul 2025 15:37:01 +0100 Subject: [PATCH] [nrf noup] boards: xiao_ble: Add static partition manager configuration The xiao_ble boards ship with a bootloader requiring an app offset of 0x27000. The upstream board defines this via DT partitions, which will not be used if partition manager is enabled. Add a static partition configuration to allow binaries built for this board to work out-of-the-box in NCS, and match the behavior with sysbuild disabled. Signed-off-by: Aleksandar Stanoev --- boards/seeed/xiao_ble/pm_static.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 boards/seeed/xiao_ble/pm_static.yml diff --git a/boards/seeed/xiao_ble/pm_static.yml b/boards/seeed/xiao_ble/pm_static.yml new file mode 100644 index 00000000000..02915293177 --- /dev/null +++ b/boards/seeed/xiao_ble/pm_static.yml @@ -0,0 +1,18 @@ +# Mirror of partitions defined in nrf52840_partition_uf2_sdv7.dtsi +# Default flash layout for nrf52840 using UF2 and SoftDevice s140 v7 + +softdevice_reserved: + address: 0x00 + size: 0x27000 + +app: + address: 0x27000 + size: 0xC5000 + +settings_storage: + address: 0xEC000 + size: 0x8000 + +uf2_partition: + address: 0xF4000 + size: 0xC000