boards/arm: nucleo_f103rb: Enabling flash support in device tree.
Enabling flash support for nucleo-f103rb in device tree. This has been tested with flash sample application on nucleo-f103rb platform. Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
This commit is contained in:
parent
3b84b645db
commit
de2978d0f7
1 changed files with 14 additions and 0 deletions
|
@ -93,3 +93,17 @@
|
||||||
pinctrl-0 = <&adc1_in0_pa0>;
|
pinctrl-0 = <&adc1_in0_pa0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&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