Commit d6f22e53 authored by Andreas Sandberg's avatar Andreas Sandberg Committed by Maureen Helm
Browse files

boards: arm: b_l072z_lrwan1: Add flash support



The STM32L0 now has a working flash driver, enable the flash device on
the b_l072z_lrwan1.

Signed-off-by: default avatarAndreas Sandberg <andreas@sandberg.pp.se>
parent 4f7505cb
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -120,3 +120,17 @@ arduino_i2c: &i2c1 {};
&usb {
	status = "okay";
};

&flash0 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		/* Set aside 32KiB for data at the end of the 192KiB flash */
		storage_partition: partition@28000 {
			label = "storage";
			reg = <0x00028000 0x00008000>;
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -19,3 +19,4 @@ supported:
  - pinmux
  - counter
  - eeprom
  - nvs
+2 −0
Original line number Diff line number Diff line
@@ -141,6 +141,8 @@ The Zephyr B-L072Z-LRWAN1 Discovery board configuration supports the following h
+-----------+------------+-------------------------------------+
| USB       | on-chip    | usb                                 |
+-----------+------------+-------------------------------------+
| FLASH     | on-chip    | flash                               |
+-----------+------------+-------------------------------------+
| LoRa      | on-module  | sx1276                              |
+-----------+------------+-------------------------------------+