Closed BoKKeR closed 5 years ago
Here is the CircuitPython equivalent: https://circuitpython.readthedocs.io/en/2.x/shared-bindings/microcontroller/__init__.html#microcontroller.reset
Hiya! We are discontinuing support for ampy, and will no longer be maintaining it. We are leaving this repository available for continued use. If you would like to take over supporting it, please contact us on the Adafruit Discord server and we can transfer the repository to you. If you wish to continue developing it on your own, please fork the repository.
The current reset command does not execute the boot.py script upon exiting the REPL. Would be nice to add hard reset that would automatically execute boot.py or add the execution of boot.py after entering the REPL.
This dirty hack makes the board the hard reset but it stops the executable from exiting. I am sure that there is a better way to do this.