Skip to content

microbit-v2: add support for S113 SoftDevice#1800

Merged
deadprogram merged 1 commit into
devfrom
microbit-v2-s113v7
Apr 14, 2021
Merged

microbit-v2: add support for S113 SoftDevice#1800
deadprogram merged 1 commit into
devfrom
microbit-v2-s113v7

Conversation

@aykevl

@aykevl aykevl commented Apr 14, 2021

Copy link
Copy Markdown
Member

This currently doesn't work with tinygo flash yet (even with -programmer=openocd), you can use pyocd instead. For example, from the Bluetooth package:

tinygo build -o test.hex -target=microbit-v2-s113v7 ./examples/advertisement/
pyocd flash --target=nrf52 test.hex

I intend to add support for pyocd to work around this issue, so that a simple tinygo flash suffices.

If the micro:bit doesn't have the SoftDevice flashed on it, you can restore it by downloading the following file onto it: https://support.microbit.org/support/solutions/articles/19000021613-reset-the-micro-bit-to-factory-defaults

This currently doesn't work with `tinygo flash` yet (even with
`-programmer=openocd`), you can use pyocd instead. For example, from the
Bluetooth package:

    tinygo build -o test.hex -target=microbit-v2-s113v7 ./examples/advertisement/
    pyocd flash --target=nrf52 test.hex

I intend to add support for pyocd to work around this issue, so that a simple
`tinygo flash` suffices.
@aykevl aykevl force-pushed the microbit-v2-s113v7 branch from a9b6bc8 to 9199fab Compare April 14, 2021 17:40
@deadprogram

Copy link
Copy Markdown
Member

📡 now merging, thanks @aykevl

@deadprogram deadprogram merged commit 22b143e into dev Apr 14, 2021
@deadprogram deadprogram deleted the microbit-v2-s113v7 branch April 14, 2021 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants