The Nordic Semiconductor PCA10031 is a low-cost, versatile USB development dongle for wireless applications based on the Nordic Semiconductor nRF51422 chip using the nRF51 series SoC.
Interface | Hardware Supported | TinyGo Support |
---|---|---|
GPIO | YES | YES |
UART | YES | YES |
SPI | YES | Not yet |
I2C | YES | Not yet |
ADC | YES | Not yet |
PWM | YES | Not yet |
Documentation for the machine package for the PCA10031
Programs are loaded onto the pca10031 board using the nrfjprog
command line utility program.
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/guides/tools/nordic_segger.html#nrf5x-command-line-tools-installation
Once you have installed both of these correctly, you will be able to flash the pca10031 board with your TinyGo code.
tinygo flash -target=pca10031