Steps to get these results.
Codes here
https://github.com/brendena/Espruino/...
Command to run openocd.
openocd -f /usr/share/openocd/scripts/interface/cmsis-dap.cfg -c "adapter speed 50000" -f /usr/share/openocd/scripts/target/nrf52.cfg
Command to build program
make BOARD=P8-SDK12-SPIFLASH -j8
Command to flash the program
make BOARD=P8-SDK12-SPIFLASH gdb
Code from example
https://gist.github.com/brendena/af7f...