feat(boards): PM RP2040 flash settings support.

This commit is contained in:
Peter Johanson
2024-10-01 01:14:44 -06:00
committed by Pete Johanson
parent 90d6285d98
commit 73ca365530
2 changed files with 23 additions and 0 deletions

View File

@@ -5,3 +5,19 @@
*/
&pro_micro_serial { status = "disabled"; };
// We override to 2MB for maximum compatibility
&code_partition {
reg = <0x100 (DT_SIZE_M(2) - 0x100 - DT_SIZE_K(512))>;
};
&flash0 {
reg = <0x10000000 DT_SIZE_M(2)>;
partitions {
storage_partition: partition@180000 {
reg = <0x180000 DT_SIZE_K(512)>;
read-only;
};
};
};