zephyr/boards: Add support for the nucleo_h743zi board.
This commit is contained in:
7
ports/zephyr/boards/nucleo_h743zi.conf
Normal file
7
ports/zephyr/boards/nucleo_h743zi.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# disable console subsys to get REPL working
|
||||||
|
CONFIG_CONSOLE_SUBSYS=n
|
||||||
|
|
||||||
|
# flash config
|
||||||
|
CONFIG_FLASH=y
|
||||||
|
CONFIG_FLASH_MAP=y
|
||||||
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
||||||
23
ports/zephyr/boards/nucleo_h743zi.overlay
Normal file
23
ports/zephyr/boards/nucleo_h743zi.overlay
Normal file
@@ -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>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user