boards: nxp: frdm_ke17z: Fix MCUBoot build.
Fixed MCUboot sample build for frdm_ke17z and frdm_ke17z512. Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
parent
27709609f3
commit
726ac5cc06
|
@ -30,6 +30,8 @@
|
|||
chosen {
|
||||
zephyr,sram = &sram_u;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,uart-mcumgr = &lpuart0;
|
||||
zephyr,console = &lpuart0;
|
||||
zephyr,shell-uart = &lpuart0;
|
||||
};
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
chosen {
|
||||
zephyr,sram = &sram_u;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,uart-mcumgr = &lpuart2;
|
||||
zephyr,console = &lpuart2;
|
||||
zephyr,shell-uart = &lpuart2;
|
||||
};
|
||||
|
@ -160,20 +162,20 @@
|
|||
reg = <0x00000000 DT_SIZE_K(64)>;
|
||||
read-only;
|
||||
};
|
||||
/* The MCUBoot swap-move algorithm uses the last 2 sectors
|
||||
/* The MCUBoot swap-move algorithm uses the last 3 sectors
|
||||
* of the primary slot0 for swap status and move.
|
||||
*/
|
||||
slot0_partition: partition@10000 {
|
||||
label = "image-0";
|
||||
reg = <0x00010000 (DT_SIZE_K(202) + DT_SIZE_K(4))>;
|
||||
reg = <0x00010000 (DT_SIZE_K(202) + DT_SIZE_K(6))>;
|
||||
};
|
||||
slot1_partition: partition@43800 {
|
||||
slot1_partition: partition@44000 {
|
||||
label = "image-1";
|
||||
reg = <0x00043800 DT_SIZE_K(202)>;
|
||||
reg = <0x00044000 DT_SIZE_K(202)>;
|
||||
};
|
||||
storage_partition: partition@76000 {
|
||||
storage_partition: partition@76800 {
|
||||
label = "storage";
|
||||
reg = <0x00076000 DT_SIZE_K(40)>;
|
||||
reg = <0x00076800 DT_SIZE_K(38)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue