summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick <nick.win999@gmail.com>2020-11-02 12:26:40 -0600
committerPete Johanson <peter@peterjohanson.com>2020-11-02 23:07:23 -0500
commit82a5736d0887c10e2be6e1a968ce9b3a4944a61a (patch)
treef1d3e92e6eace7f415ce75668327057c4542fc17
parenta32d14cc192f080b97ea06281278a122b435f9cd (diff)
fix(boards): Remap flash to account for bootloader
-rw-r--r--app/boards/arm/bluemicro840/bluemicro840_v1.dts21
-rw-r--r--app/boards/arm/nice_nano/nice_nano.dts21
-rw-r--r--app/boards/arm/nrf52840_m2/nrf52840_m2.dts21
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_11.dts21
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts23
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_13.dts21
6 files changed, 79 insertions, 49 deletions
diff --git a/app/boards/arm/bluemicro840/bluemicro840_v1.dts b/app/boards/arm/bluemicro840/bluemicro840_v1.dts
index e77ba2f..141dbe1 100644
--- a/app/boards/arm/bluemicro840/bluemicro840_v1.dts
+++ b/app/boards/arm/bluemicro840/bluemicro840_v1.dts
@@ -82,27 +82,32 @@
#address-cells = <1>;
#size-cells = <1>;
- boot_partition: partition@0 {
- label = "adafruit_boot";
- reg = <0x000000000 0x0000C000>;
+ sd_partition: partition@0 {
+ label = "softdevice";
+ reg = <0x00000000 0x00026000>;
};
code_partition: partition@26000 {
label = "code_partition";
- reg = <0x00026000 0x000d2000>;
+ reg = <0x00026000 0x000c6000>;
};
/*
- * The flash starting at 0x000f8000 and ending at
- * 0x000fffff is reserved for use by the application.
+ * The flash starting at 0x000ec000 and ending at
+ * 0x000f3fff is reserved for use by the application.
*/
/*
* Storage partition will be used by FCB/LittleFS/NVS
* if enabled.
*/
- storage_partition: partition@f8000 {
+ storage_partition: partition@ec000 {
label = "storage";
- reg = <0x000f8000 0x00008000>;
+ reg = <0x000ec000 0x00008000>;
+ };
+
+ boot_partition: partition@f4000 {
+ label = "adafruit_boot";
+ reg = <0x000f4000 0x0000c000>;
};
};
};
diff --git a/app/boards/arm/nice_nano/nice_nano.dts b/app/boards/arm/nice_nano/nice_nano.dts
index ba955ec..a9bdeb3 100644
--- a/app/boards/arm/nice_nano/nice_nano.dts
+++ b/app/boards/arm/nice_nano/nice_nano.dts
@@ -91,27 +91,32 @@
#address-cells = <1>;
#size-cells = <1>;
- boot_partition: partition@0 {
- label = "adafruit_boot";
- reg = <0x000000000 0x0000C000>;
+ sd_partition: partition@0 {
+ label = "softdevice";
+ reg = <0x00000000 0x00026000>;
};
code_partition: partition@26000 {
label = "code_partition";
- reg = <0x00026000 0x000d2000>;
+ reg = <0x00026000 0x000c6000>;
};
/*
- * The flash starting at 0x000f8000 and ending at
- * 0x000fffff is reserved for use by the application.
+ * The flash starting at 0x000ec000 and ending at
+ * 0x000f3fff is reserved for use by the application.
*/
/*
* Storage partition will be used by FCB/LittleFS/NVS
* if enabled.
*/
- storage_partition: partition@f8000 {
+ storage_partition: partition@ec000 {
label = "storage";
- reg = <0x000f8000 0x00008000>;
+ reg = <0x000ec000 0x00008000>;
+ };
+
+ boot_partition: partition@f4000 {
+ label = "adafruit_boot";
+ reg = <0x000f4000 0x0000c000>;
};
};
};
diff --git a/app/boards/arm/nrf52840_m2/nrf52840_m2.dts b/app/boards/arm/nrf52840_m2/nrf52840_m2.dts
index fb5b0ff..e998b39 100644
--- a/app/boards/arm/nrf52840_m2/nrf52840_m2.dts
+++ b/app/boards/arm/nrf52840_m2/nrf52840_m2.dts
@@ -71,27 +71,32 @@
#address-cells = <1>;
#size-cells = <1>;
- boot_partition: partition@0 {
- label = "adafruit_boot";
- reg = <0x000000000 0x0000C000>;
+ sd_partition: partition@0 {
+ label = "softdevice";
+ reg = <0x00000000 0x00026000>;
};
code_partition: partition@26000 {
label = "code_partition";
- reg = <0x00026000 0x000d2000>;
+ reg = <0x00026000 0x000c6000>;
};
/*
- * The flash starting at 0x000f8000 and ending at
- * 0x000fffff is reserved for use by the application.
+ * The flash starting at 0x000ec000 and ending at
+ * 0x000f3fff is reserved for use by the application.
*/
/*
* Storage partition will be used by FCB/LittleFS/NVS
* if enabled.
*/
- storage_partition: partition@f8000 {
+ storage_partition: partition@ec000 {
label = "storage";
- reg = <0x000f8000 0x00008000>;
+ reg = <0x000ec000 0x00008000>;
+ };
+
+ boot_partition: partition@f4000 {
+ label = "adafruit_boot";
+ reg = <0x000f4000 0x0000c000>;
};
};
};
diff --git a/app/boards/arm/nrfmicro/nrfmicro_11.dts b/app/boards/arm/nrfmicro/nrfmicro_11.dts
index 87c650e..0cec662 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_11.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_11.dts
@@ -72,27 +72,32 @@
#address-cells = <1>;
#size-cells = <1>;
- boot_partition: partition@0 {
- label = "adafruit_boot";
- reg = <0x000000000 0x0000C000>;
+ sd_partition: partition@0 {
+ label = "softdevice";
+ reg = <0x00000000 0x00026000>;
};
code_partition: partition@26000 {
label = "code_partition";
- reg = <0x00026000 0x000d2000>;
+ reg = <0x00026000 0x000c6000>;
};
/*
- * The flash starting at 0x000f8000 and ending at
- * 0x000fffff is reserved for use by the application.
+ * The flash starting at 0x000ec000 and ending at
+ * 0x000f3fff is reserved for use by the application.
*/
/*
* Storage partition will be used by FCB/LittleFS/NVS
* if enabled.
*/
- storage_partition: partition@f8000 {
+ storage_partition: partition@ec000 {
label = "storage";
- reg = <0x000f8000 0x00008000>;
+ reg = <0x000ec000 0x00008000>;
+ };
+
+ boot_partition: partition@f4000 {
+ label = "adafruit_boot";
+ reg = <0x000f4000 0x0000c000>;
};
};
};
diff --git a/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts b/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts
index ea15b81..6c1bb6a 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts
@@ -72,27 +72,32 @@
#address-cells = <1>;
#size-cells = <1>;
- boot_partition: partition@0 {
- label = "adafruit_boot";
- reg = <0x000000000 0x0000C000>;
+ sd_partition: partition@0 {
+ label = "softdevice";
+ reg = <0x00000000 0x00026000>;
};
code_partition: partition@26000 {
label = "code_partition";
- reg = <0x00026000 0x000d2000>;
+ reg = <0x00026000 0x000c6000>;
};
/*
- * The flash starting at 0x000f8000 and ending at
- * 0x000fffff is reserved for use by the application.
+ * The flash starting at 0x000ec000 and ending at
+ * 0x000f3fff is reserved for use by the application.
*/
/*
* Storage partition will be used by FCB/LittleFS/NVS
* if enabled.
*/
- storage_partition: partition@f8000 {
+ storage_partition: partition@ec000 {
label = "storage";
- reg = <0x000f8000 0x00008000>;
+ reg = <0x000ec000 0x00008000>;
+ };
+
+ boot_partition: partition@f4000 {
+ label = "adafruit_boot";
+ reg = <0x000f4000 0x0000c000>;
};
};
-};
+}; \ No newline at end of file
diff --git a/app/boards/arm/nrfmicro/nrfmicro_13.dts b/app/boards/arm/nrfmicro/nrfmicro_13.dts
index 01b8b95..2910980 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_13.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_13.dts
@@ -84,27 +84,32 @@
#address-cells = <1>;
#size-cells = <1>;
- boot_partition: partition@0 {
- label = "adafruit_boot";
- reg = <0x000000000 0x0000C000>;
+ sd_partition: partition@0 {
+ label = "softdevice";
+ reg = <0x00000000 0x00026000>;
};
code_partition: partition@26000 {
label = "code_partition";
- reg = <0x00026000 0x000d2000>;
+ reg = <0x00026000 0x000c6000>;
};
/*
- * The flash starting at 0x000f8000 and ending at
- * 0x000fffff is reserved for use by the application.
+ * The flash starting at 0x000ec000 and ending at
+ * 0x000f3fff is reserved for use by the application.
*/
/*
* Storage partition will be used by FCB/LittleFS/NVS
* if enabled.
*/
- storage_partition: partition@f8000 {
+ storage_partition: partition@ec000 {
label = "storage";
- reg = <0x000f8000 0x00008000>;
+ reg = <0x000ec000 0x00008000>;
+ };
+
+ boot_partition: partition@f4000 {
+ label = "adafruit_boot";
+ reg = <0x000f4000 0x0000c000>;
};
};
};