Skip to content
Permalink
Browse files

board: efm32wg_stk3800: Add storage partition

Add storage partition to the board in order to enable testing on
nvs sample.

Signed-off-by: Christian Taedcke <hacking@taedcke.com>
  • Loading branch information...
chrta authored and carlescufi committed Jul 27, 2019
1 parent c955356 commit 5ccdd18a728fe5329ed43fed0a089b7ed65171b1
Showing with 20 additions and 0 deletions.
  1. +19 −0 boards/arm/efm32wg_stk3800/efm32wg_stk3800.dts
  2. +1 −0 boards/arm/efm32wg_stk3800/efm32wg_stk3800.yaml
@@ -63,3 +63,22 @@
location-tx = <GECKO_LOCATION(1) GECKO_PORT_E GECKO_PIN(0)>;
status = "okay";
};

&flash0 {
/*
* For more information, see:
* http://docs.zephyrproject.org/latest/guides/dts/index.html#flash-partitions
*/
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* Set 4Kb of storage at the end of the 256Kb of flash */
storage_partition: partition@3f000 {
label = "storage";
reg = <0x0003f000 0x00001000>;
};

};
};
@@ -10,6 +10,7 @@ toolchain:
- xtools
supported:
- gpio
- nvs
testing:
ignore_tags:
- net

0 comments on commit 5ccdd18

Please sign in to comment.
You can’t perform that action at this time.