Skip to content

Loading a UF2 sometimes causes the new CircuitPython to start in safe mode #4968

Open
@dhalbert

Description

@dhalbert

CircuitPython version

7.0.0-something

Code/REPL

N/A

Behavior

N/A

Description

I have noticed that after loading a new version of CircuitPython via UF2, it can start up in safe mode immediately after loading. I did not see this before 7.0.0. I have seen this both on Metro M4 and on RP2040. For example:

halbert@tuna:~/repos/circuitpython/ports/raspberrypi$ macropad-load    # my alias for copying to RPI-RP2
halbert@tuna:~/repos/circuitpython/ports/raspberrypi$ acm0    #my alias for connecting to /dev/ttyACM0
Auto-reload is off.
Running in safe mode! Not running saved code.

You are in safe mode because:
You pressed the reset button during boot. Press again to exit safe mode.

Press any key to enter the REPL. Use CTRL-D to reload.

Adafruit CircuitPython 7.0.0-alpha.3-493-gc37f354d2-dirty on 2021-07-06; Adafruit Macropad RP2040 with rp2040
>>> 
``


### Additional information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions