boards/arm: nucleo_g071rb: Enabling flash support in device tree.
Enabling flash support for nucleo-g071rb in device tree. This has been tested with flash sample application on nucleo-g071rb platform. Documentation has been updated. Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
This commit is contained in:
parent
de2978d0f7
commit
7b37c94e22
2 changed files with 16 additions and 0 deletions
|
@ -100,6 +100,8 @@ The Zephyr nucleo_g071rb board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| CLOCK | on-chip | reset and clock control |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| FLASH | on-chip | flash memory |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| COUNTER | on-chip | rtc |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| WATCHDOG | on-chip | independent watchdog |
|
||||
|
|
|
@ -98,3 +98,17 @@
|
|||
status = "okay";
|
||||
pinctrl-0 = <&dac1_out1_pa4>;
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/* Set 2KB of storage at the end of 128KB flash */
|
||||
storage_partition: partition@1f800 {
|
||||
label = "storage";
|
||||
reg = <0x0001f800 0x00000800>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue