micropython / micropython/micropython

stm32: Factory reset from code

Open
#4,832 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

port-stm32
Dominant language
C
Stars
22.1k
Forks
9k
Avg merge
6d 4h
Merged PRs (30d)
16

Description

I believe factory reset should be available as an alternative to USR. USR might not be practical or accessible for custom boards or how the device might be enclosed or accessed.

This might also be related to ways to clear/format/erase the filesystem from code.

Basically recovery and housecleaning.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files, tests, or an entry point. Start by locating STM32 support, the existing USR recovery behavior, and filesystem clear, format, or erase paths; first define the scope of a code-triggered factory reset and how recovery and filesystem cleanup should be separated. Done requires an agreed behavior and corresponding implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.