Various sample programs for microcontrollers using TinyGo (http://tinygo.org)
docker pull tinygo/tinygo
go get -d github.com/tinygo-org/drivers
-
BBC micro:bit
sudo apt-get install openocd
-
Arduino
sudo apt-get install avrdude
-
PCA10040 Install nrfjprog as follows.
First install the J-Link Software and Documentation Pack from Segger: https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack
Then install the nRF5x Command-Line Tools: https://docs.zephyrproject.org/latest/tools/nordic_segger.html#nordic-segger
make microbit-blink
make microbit-pixelbuttons
make arduino-colorlamp
make nrf-colorlamp
make microbit-accel
make reelboard-accel