Seeed-Studio / ArduinoCore-mbed

3 stars 6 forks source link

Xiao BLE with Nordic nRF52 Connect SDK #7

Closed windfallw closed 2 years ago

windfallw commented 2 years ago

Hi, I just got my Xiao BLE recently. I noticed that Xiao use Adafruit_nRF52_Bootloader as the bootloader. Is it possible to work with Zephyr and Mbed&Arduino on the platformio in the future? like adafruit_feather_nrf52840 or how can I do to quickly use Xiao with the Nordic SDK

大佬快做platformio的适配吧 😣

windfallw commented 2 years ago

First custom board and use nRF Connect Extension Pack on vscode to build project.

Then use daplink with openocd or pyocd to flash

openocd -f interface/cmsis-dap.cfg -f target/nrf52.cfg -c "init" -c "program zephyr.hex verify reset exit"

pyocd flash -t nrf52 zephyr.hex

Xiao BLE now work with zephyr