samples: subsys: nvs fix hard fault when running on stm32 targets
on stm32f091 and stm32g071 nucleo boards This avoids HARD Fault when reaching the last reboot Disable the external flash memory of the b_u585i_iot02 target to end the test properly Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
87779e73f8
commit
503a3d78d2
3 changed files with 11 additions and 0 deletions
9
samples/subsys/nvs/boards/b_u585i_iot02a.overlay
Normal file
9
samples/subsys/nvs/boards/b_u585i_iot02a.overlay
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2024 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&mx25lm51245 {
|
||||
status = "disabled";
|
||||
};
|
||||
1
samples/subsys/nvs/boards/nucleo_f091rc.conf
Normal file
1
samples/subsys/nvs/boards/nucleo_f091rc.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
1
samples/subsys/nvs/boards/nucleo_g071rb.conf
Normal file
1
samples/subsys/nvs/boards/nucleo_g071rb.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
Loading…
Reference in a new issue