Skip to content

Commit

Permalink
Merge pull request #418 from jdlcdl/release-24.07.0
Browse files Browse the repository at this point in the history
Assorted non-firmware changes for release-24.07.0
  • Loading branch information
odudex authored Jul 14, 2024
2 parents 99d882f + 10607c1 commit 7285f1b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ poetry run poe simulator --sequence sequences/home-options.txt --no-screenshot-s
```

## Live debug a device (Linux)
It is not possible to drop into a live Python REPL anymore as we disabled the `MICROPY_ENABLE_COMPILER` flag in `firmware\MaixPy\components\micropython\port\include\mpconfigport.h`. If you enable it again it will be possible to drop into a live Python REPL by issuing an interrupt with Ctrl-C:

If you've made a fresh build and flashed it to your device, you can connect to the device over serial connection with:
```bash
screen /dev/tty.usbserial-device-name 115200
Expand Down Expand Up @@ -246,8 +248,6 @@ machine.reset()

Now, with watchdog disabled, you can use debug the device normally. Also remember to disable the `Settings > Security > Shutdown Time` setting it to `0` to no more automatic resets, and if you added any print statements to the code, they should appear whenever your code is reached.

It is not possible to drop into a live Python REPL anymore as we disabled the `MICROPY_ENABLE_COMPILER` flag in `firmware\MaixPy\components\micropython\port\include\mpconfigport.h`. If you enable it again it will be possible to drop into a live Python REPL by issuing an interrupt with Ctrl-C:

```bash
Traceback (most recent call last):
File "_boot.py", line 109, in <module>
Expand Down
48 changes: 24 additions & 24 deletions simulator/generate-device-screenshots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,39 +42,39 @@ echo "$encrypted_mnemonics" > sd/seeds.json
# Sequences

# Login
poetry run python simulator.py --sequence sequences/logo.txt --device $device
poetry run python simulator.py --sequence sequences/load-mnemonic-options.txt --sd --device $device
poetry run python simulator.py --sequence sequences/new-mnemonic-options.txt --sd --device $device
poetry run python simulator.py --sequence sequences/load-mnemonic-sequence.txt --sd --device $device
poetry run poe simulator --sequence sequences/logo.txt --device $device
poetry run poe simulator --sequence sequences/load-mnemonic-options.txt --sd --device $device
poetry run poe simulator --sequence sequences/new-mnemonic-options.txt --sd --device $device
poetry run poe simulator --sequence sequences/load-mnemonic-sequence.txt --sd --device $device

# Home
poetry run python simulator.py --sequence sequences/home-options.txt --device $device
poetry run python simulator.py --sequence sequences/encrypt-mnemonic.txt --sd --device $device
poetry run python simulator.py --sequence sequences/extended-public-key-wpkh.txt --device $device
poetry run python simulator.py --sequence sequences/extended-public-key-wsh.txt --device $device
poetry run python simulator.py --sequence sequences/wallet-descriptor-wsh.txt --device $device
poetry run python simulator.py --sequence sequences/wallet-descriptor-wpkh.txt --device $device
poetry run python simulator.py --sequence sequences/bip85.txt --device $device
poetry run python simulator.py --sequence sequences/scan-address.txt --device $device
poetry run python simulator.py --sequence sequences/list-address.txt --device $device
poetry run python simulator.py --sequence sequences/sign-psbt.txt --sd --device $device
poetry run python simulator.py --sequence sequences/sign-message.txt --device $device
poetry run python simulator.py --sequence sequences/sign-message-at-address.txt --device $device
poetry run poe simulator --sequence sequences/home-options.txt --device $device
poetry run poe simulator --sequence sequences/encrypt-mnemonic.txt --sd --device $device
poetry run poe simulator --sequence sequences/extended-public-key-wpkh.txt --device $device
poetry run poe simulator --sequence sequences/extended-public-key-wsh.txt --device $device
poetry run poe simulator --sequence sequences/wallet-descriptor-wsh.txt --device $device
poetry run poe simulator --sequence sequences/wallet-descriptor-wpkh.txt --device $device
poetry run poe simulator --sequence sequences/bip85.txt --device $device
poetry run poe simulator --sequence sequences/scan-address.txt --device $device
poetry run poe simulator --sequence sequences/list-address.txt --device $device
poetry run poe simulator --sequence sequences/sign-psbt.txt --sd --device $device
poetry run poe simulator --sequence sequences/sign-message.txt --device $device
poetry run poe simulator --sequence sequences/sign-message-at-address.txt --device $device

# Tools
poetry run python simulator.py --sequence sequences/tools-check-sd.txt --sd --device $device
poetry run python simulator.py --sequence sequences/tools-create-QR.txt --sd --device $device
poetry run python simulator.py --sequence sequences/tools-mnemonic.txt --sd --device $device
poetry run python simulator.py --sequence sequences/tools-print-test-qr.txt --sd --device $device
poetry run python simulator.py --sequence sequences/tools-wipe-device.txt --sd --device $device
poetry run poe simulator --sequence sequences/tools-check-sd.txt --sd --device $device
poetry run poe simulator --sequence sequences/tools-create-QR.txt --sd --device $device
poetry run poe simulator --sequence sequences/tools-mnemonic.txt --sd --device $device
poetry run poe simulator --sequence sequences/tools-print-test-qr.txt --sd --device $device
poetry run poe simulator --sequence sequences/tools-wipe-device.txt --sd --device $device

# Settings
poetry run python simulator.py --sequence sequences/all-settings.txt --device $device
poetry run poe simulator --sequence sequences/all-settings.txt --device $device


# Other
poetry run python simulator.py --sequence sequences/qr-transcript.txt --device $device
poetry run python simulator.py --sequence sequences/print-qr.txt --sd --printer --device $device
poetry run poe simulator --sequence sequences/qr-transcript.txt --device $device
poetry run poe simulator --sequence sequences/print-qr.txt --sd --printer --device $device



Expand Down

0 comments on commit 7285f1b

Please sign in to comment.