board: efm32pg_stk3402a: 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>
This commit is contained in:
Christian Taedcke 2019-07-27 20:34:05 +02:00 committed by Carles Cufí
commit c9553561b4
2 changed files with 20 additions and 0 deletions

View file

@ -86,3 +86,22 @@
location-swo = <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 1024Kb of flash */
storage_partition: partition@ff000 {
label = "storage";
reg = <0x000ff000 0x00001000>;
};
};
};

View file

@ -11,6 +11,7 @@ toolchain:
supported:
- i2c
- gpio
- nvs
testing:
ignore_tags:
- net