The Arduino Nano33 IoT is a very small ARM development board based on the Atmel SAMD21 family of processors. It also has a NINA-W102 chip onboard which provides an wireless communication abilities based on the popular ESP32 family of wireless chips from Espressif.
|Interface||Hardware Supported||TinyGo Support|
In order to flash your TinyGo programs onto the Arduino Nano33 IoT board, you will need to install the “bossac” command line utility which is part of the BOSSA command line utilities.
On macOS, download the installer from https://github.com/shumatech/BOSSA/releases/download/1.9.1/bossa-1.9.1.dmg
One you have downloaded it, double click on the .dmg file to perform the installation.
On Linux, install from source:
git clone https://github.com/shumatech/BOSSA.git cd BOSSA make
Once you have installed the needed BOSSA command line utility, as in the previous section, you are ready to build and flash code to your Arduino Nano33 IoT board.
tinygo flashcommand. This command flashes the Arduino Nano33 IoT with the blinky1 example:
tinygo flash -target=arduino-nano33 examples/blinky1
You can use the USB port to the Arduino Nano33 IoT as a serial port.
UART0 refers to this connection.
For information on how to use the built-in NINA-W102 wireless chip, please see the “espat” driver in the TinyGo drivers repository located at https://github.com/tinygo-org/drivers/tree/master/espat.