01-22-2020, 12:35 PM
Here's the new article that explains we may debug PineTime firmware with a Raspberry Pi...
Debug Rust+Mynewt Firmware for PineTime on Raspberry Pi
Debug Rust+Mynewt Firmware for PineTime on Raspberry Pi
Article: Debug Rust+Mynewt Firmware for PineTime on Raspberry Pi
|
01-22-2020, 12:35 PM
Here's the new article that explains we may debug PineTime firmware with a Raspberry Pi...
Debug Rust+Mynewt Firmware for PineTime on Raspberry Pi
01-23-2020, 10:20 AM
Thanks for this. I finally got the chance to give it a go, although slightly limited as my raspbian-lite has no gui, and programming is working. One oddity regarding the pinetime-rust-mynewt release v2.0.5 - the flash scripts in scripts/nrf52-pi/ call openocd/bin/openocd but fail as that's an x86_64 executable not an arm one.
Ah yes... The install-pi.sh script overwrites that with the openocd-spi version for Arm. Sorry about the mess, but it's the only way that I can get VSCode to debug properly under Windows, macOS, Pi AND PineBook Pro [emoji3]
Here's where openocd-spi gets copied... Sent from my Pixel 4 XL using Tapatalk ![]()
01-24-2020, 05:14 AM
That seems a reasonable solution to the cross-platform complications, and well done for trying to make it work for everybody. I wasn't exactly following the instructions so it's fair to expect things not to go so smoothly.
01-24-2020, 05:20 AM
I have just discovered the wonderful world of Discord... So we can now talk more about the right way to do things [emoji3]
![]() Sent from my Pixel 4 XL using Tapatalk |