Skip to content

Commit

Permalink
boards: frdm_mcxw71: Enable mcuboot
Browse files Browse the repository at this point in the history
Enable mcuboot partitions

Signed-off-by: Declan Snyder <[email protected]>
  • Loading branch information
decsny committed Oct 7, 2024
1 parent 9f73988 commit 3b1983d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
17 changes: 11 additions & 6 deletions boards/nxp/frdm_mcxw71/frdm_mcxw71.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
chosen {
zephyr,flash = &flash;
zephyr,flash-controller = &fmu;
zephyr,code-partition = &code_partition;
zephyr,code-partition = &slot0_partition;
zephyr,sram = &stcm0;
zephyr,console = &lpuart1;
zephyr,shell-uart = &lpuart1;
Expand Down Expand Up @@ -65,15 +65,20 @@
#address-cells = <1>;
#size-cells = <1>;

code_partition: partition@0 {
reg = <0x0 DT_SIZE_K(896)>;
label = "code";
read-only;
boot_partition: partition@0 {
reg = <0x0 DT_SIZE_K(64)>;
};

slot0_partition: partition@10000 {
reg = <0x10000 DT_SIZE_K(416)>;
};

slot1_partition: partition@78000 {
reg = <0x78000 DT_SIZE_K(416)>;
};

storage_partition: partition@e0000 {
reg = <0xe0000 DT_SIZE_K(128)>;
label = "storage";
};
};
};
Expand Down
1 change: 1 addition & 0 deletions tests/boot/test_mcuboot/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ tests:
- nrf52840dk/nrf52840
- rd_rw612_bga
- nucleo_wba55cg
- frdm_mcxw71
integration_platforms:
- frdm_k64f
- nrf52840dk/nrf52840
Expand Down

0 comments on commit 3b1983d

Please sign in to comment.