Skip to content

Conversation

@FRASTM
Copy link
Contributor

@FRASTM FRASTM commented Oct 2, 2024

Set the CONFIG_MAIN_STACK_SIZE to 2048 when running the samples/subsys/nvs/sample.nvs.basic
on stm32 target boards
with lower CONFIG_MAIN_STACK_SIZE (default 1024), the sample might fails with MPU_FAULT before reaching the max reboot counter value.
The correct end of this sample is reached when reboot counter = 400

Reboot counter reached max value.                                                                        
Reset to 0 and exit test.     

Note that erasing the nvs flash section is required before running this sample else a Reboot_counter: >0 might be detected. If reboot counter >10 it will not print the line Id: 4, Data: DATA causing a test error due to the sample.yaml regex: not matching

@FRASTM FRASTM force-pushed the stm32_nvs branch 2 times, most recently from 469b86d to 31af6f1 Compare October 2, 2024 14:57
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]>
@FRASTM
Copy link
Contributor Author

FRASTM commented Nov 25, 2024

done with #80150

@FRASTM FRASTM closed this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant