Skip to content

STM32: Factory Reset not Executed. - #6904

Closed
braiden wants to merge 1 commit into
micropython:masterfrom
braiden:master
Closed

braiden wants to merge 1 commit into
micropython:masterfrom
braiden:master

Conversation

@braiden

@braiden braiden commented Feb 15, 2021

Copy link
Copy Markdown
Contributor

Fixes #6903

state.reset_mode is updated by MICROPY_BOARD_BEFORE_SOFT_RESET_LOOP
but not passed to init_flash_fs.

@braiden braiden changed the title STM32 Factory Reset not Executed STM32: Factory Reset not Executed. Feb 15, 2021
Fixes #6903

state.reset_mode is updated by `MICROPY_BOARD_BEFORE_SOFT_RESET_LOOP`
but not passed to `init_flash_fs`.
@dhylands

Copy link
Copy Markdown
Contributor

I can confirm that the filesystem reset doesn't work on my PYBV11 with the latest master and that the filesystem reset works properly on my PYBV11 with this PR.

@H-Grobben

Copy link
Copy Markdown
Contributor

Can confirm that after this fix, a WB and a G4 can do a factory reset filesystem renewal.

@dpgeorge

Copy link
Copy Markdown
Member

Thank you for the fix! The bug was introduced by me in 4c3976b

Merged in 85ea4ac

@dpgeorge dpgeorge closed this Mar 10, 2021
Wind-stormger pushed a commit to BPI-STEAM/micropython that referenced this pull request Oct 13, 2022
…-BPI-Leaf-S3-PR

Add BananaPi BPI-Leaf-S3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

STM32: Can't Factory Reset

4 participants