aboutsummaryrefslogtreecommitdiff
path: root/ports/zephyr/boards/nucleo_h743zi.overlay
diff options
context:
space:
mode:
Diffstat (limited to 'ports/zephyr/boards/nucleo_h743zi.overlay')
-rw-r--r--ports/zephyr/boards/nucleo_h743zi.overlay23
1 files changed, 23 insertions, 0 deletions
diff --git a/ports/zephyr/boards/nucleo_h743zi.overlay b/ports/zephyr/boards/nucleo_h743zi.overlay
new file mode 100644
index 000000000..f5e6d4f92
--- /dev/null
+++ b/ports/zephyr/boards/nucleo_h743zi.overlay
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2021 Thomas Popp
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+/* delete the already defined storage partition and create a new and bigger one */
+/delete-node/ &storage_partition;
+
+&flash0 {
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+
+ /* storage slot: 1024 KB in Flash Memory Bank 2 */
+ storage_partition: partition@100000 {
+ label = "storage";
+ reg = <0x00100000 0x100000>;
+ };
+ };
+};