Skip to content

Brown out detection in zephyr #80231

Answered by FRASTM
MaazSk asked this question in Q&A
Oct 22, 2024 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Thank for clarification @MaazSk
There is no zephyr API to change the option bytes in the stm32 flash as this is very specific to stm32 devices.
However there is a way to manipulate the Option Bytes through stm32Cube HAL driver layer. This is done as example, in the PR #79985 : define the OBInit.USERConfig and program with HAL_FLASHEx_OBProgram

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@MaazSk
Comment options

@FRASTM
Comment options

FRASTM Nov 5, 2024
Collaborator

@MaazSk
Comment options

@FRASTM
Comment options

FRASTM Nov 5, 2024
Collaborator

@MaazSk
Comment options

Comment options

You must be logged in to vote
1 reply
@MaazSk
Comment options

Answer selected by MaazSk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants