Closed danielkucera closed 6 years ago
Thanks! Resolved in https://github.com/platformio/platform-nordicnrf51/commit/d95b50fba0305b5e7aae234c052e00369668947c
Please re-test with
[env:xxx]
platform = https://github.com/platformio/platform-nordicnrf51.git
board = waveshare_ble400
framework = mbed
upload_protocol = stlink
debug_tool = stlink
Hi, it doesn't work, I need to load stlink-v2.
GNU ARM Eclipse 64-bits Open On-Chip Debugger 0.10.0-00114-g8419536 (2017-04-18-22:28)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:60: Error: Can't find scripts/interface/stlink.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 60
*** [upload] Error 1```
Please run pio update
Thanks! Now it works. Is it possible to make the debug work also? Now it's showing:
Sorry to bother you, it works with
debug_tool = stlink
yes, that is a correct behaviour. Default debug tool is J-Link but you can change to other. We are working on this new feature and you will see all debug tools and upload protocols in build process log soon.
example output: