Skip to content

Commit bac82a7

Browse files
committed
boot: zephyr: boards: Assign boot_partition to code-patition
Include the 2M SysBuild partitions using board variants: - rpi_pico/rp2040/mcuboot - rpi_pico/rp2040/w/mcuboot Assign boot_partition to code_paritition. Signed-off-by: John Lin <john.lin@beechwoods.com>
1 parent 990b1fc commit bac82a7

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (c) 2025 Beechwoods Software Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* /delete-node/ &code_partition; */
8+
9+
#include <raspberrypi/partitions_2M_sysbuild.dtsi>
10+
11+
/ {
12+
chosen {
13+
zephyr,code-partition = &boot_partition;
14+
};
15+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright (c) 2025 Beechwoods Software Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <raspberrypi/partitions_2M_sysbuild.dtsi>
8+
9+
/ {
10+
chosen {
11+
zephyr,code-partition = &boot_partition;
12+
};
13+
};

0 commit comments

Comments
 (0)