Skip to content

Commit

Permalink
Merge pull request #2604 from ssievert42/xiaoble_fixup
Browse files Browse the repository at this point in the history
XiaoBLE: fixup comments about recovery in board file
  • Loading branch information
gfwilliams authored Jan 30, 2025
2 parents b7fd2fc + 98a3500 commit d8b9759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion boards/XIAOBLE.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# The board should automatically disconnect after copying is finished, and reboot into Espruino,
# which turns on the red led for a short time after starting up.

# If you accidentally put some stuff in .boot0 that prevents you from interacting with Espruino:
# If you accidentally put some stuff in .bootcde that prevents you from interacting with Espruino:
# Pull pin D1 to 3.3 V / high (important: make sure you use 3.3 V; higher voltages may cause damage) and reset the board,
# by either pressing the reset button or cutting the power and powering it up again.
# This behaviour is archived by configuring pin D1 as BTN1.
Expand Down Expand Up @@ -92,6 +92,8 @@
"LED1": {"pin": "D11"},
"LED2": {"pin": "D13"},
"LED3": {"pin": "D12"},
# not an actual button; you can pull this pin to 3V3 on boot
# to get the same behaviour as on other boards when booting with BTN1 pressed
"BTN1": {"pin": "D1", "pinstate" : "IN_PULLDOWN"},
"BAT": {
"pin_charging": "D23",
Expand Down

0 comments on commit d8b9759

Please sign in to comment.