Skip to content

Commit 1479bed

Browse files
committed
samples: subsys: nvs STACK size for stm32 boards
Set the CONFIG_MAIN_STACK_SIZE to 2048 when running the samples/subsys/nvs/sample.nvs.basic on stm32 target boards Signed-off-by: Francois Ramu <[email protected]>
1 parent 8fda052 commit 1479bed

File tree

8 files changed

+9
-2
lines changed

8 files changed

+9
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MAIN_STACK_SIZE=2048
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MAIN_STACK_SIZE=2048

samples/subsys/nvs/boards/nucleo_f103rb.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
&flash0 {
1010
partitions {
1111
/* Set 3KB of storage at the end of 128KB flash */
12-
storage_partition: partition@1f400 {
12+
storage_partition: partition@1f000 {
1313
label = "storage";
14-
reg = <0x0001f400 DT_SIZE_K(3)>;
14+
reg = <0x0001f000 DT_SIZE_K(4)>;
1515
};
1616
};
1717
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MAIN_STACK_SIZE=2048
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MAIN_STACK_SIZE=2048
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MAIN_STACK_SIZE=2048
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MAIN_STACK_SIZE=2048
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MAIN_STACK_SIZE=2048

0 commit comments

Comments
 (0)