boards: frdm_mcxa153: add flash support
- enable flash support - verified tests/drivers/flash/common Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
parent
bd22a4a394
commit
0b67e3f6f9
2 changed files with 28 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash;
|
||||
zephyr,flash-controller = &fmu;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,console = &lpuart0;
|
||||
zephyr,shell-uart = &lpuart0;
|
||||
};
|
||||
|
@ -66,6 +67,32 @@
|
|||
};
|
||||
};
|
||||
|
||||
&flash {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
boot_partition: partition@0 {
|
||||
label = "mcuboot";
|
||||
reg = <0x00000000 DT_SIZE_K(32)>;
|
||||
read-only;
|
||||
};
|
||||
slot0_partition: partition@8000 {
|
||||
label = "image-0";
|
||||
reg = <0x00008000 DT_SIZE_K(40)>;
|
||||
};
|
||||
slot1_partition: partition@12000 {
|
||||
label = "image-1";
|
||||
reg = <0x00012000 DT_SIZE_K(40)>;
|
||||
};
|
||||
storage_partition: partition@1C000 {
|
||||
label = "storage";
|
||||
reg = <0x0001C000 DT_SIZE_K(16)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -15,6 +15,7 @@ toolchain:
|
|||
- gnuarmemb
|
||||
supported:
|
||||
- dma
|
||||
- flash
|
||||
- gpio
|
||||
- uart
|
||||
vendor: nxp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue