boards/arduino_nano_33_ble: add storage partition at end of flash
Change default partition table to allow for application which need storage. One use case is running the OpenThread integration which has a dependency on this. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
This commit is contained in:
parent
fb8d6e2fc8
commit
6c9945aafa
1 changed files with 14 additions and 2 deletions
|
@ -44,15 +44,27 @@
|
|||
|
||||
boot_partition: partition@0 {
|
||||
label = "sam-ba";
|
||||
reg = <0x0 0x10000>;
|
||||
reg = <0x00000000 0x00010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
code_partition: partition@10000 {
|
||||
label = "code";
|
||||
reg = <0x10000 0xf0000>;
|
||||
reg = <0x00010000 0x000e8000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
/*
|
||||
* The flash starting at 0x000f8000 and ending at
|
||||
* 0x000fffff is reserved for use by the application.
|
||||
*
|
||||
* Storage partition will be used by FCB/LittleFS/NVS
|
||||
* if enabled.
|
||||
*/
|
||||
storage_partition: partition@f8000 {
|
||||
label = "storage";
|
||||
reg = <0x000f8000 0x00008000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue