Skip to content

Commit ccf4ddf

Browse files
committed
microcontrollers: add new boards that are part of 0.19 release
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent bd0328d commit ccf4ddf

File tree

3 files changed

+154
-0
lines changed

3 files changed

+154
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "Adafruit Feather RP2040"
3+
weight: 3
4+
---
5+
6+
The [Adafruit Feather RP2040]() is a tiny development board based on the Raspberry Pi [RP2040]() microcontroller.
7+
8+
## Interfaces
9+
10+
| Interface | Hardware Supported | TinyGo Support |
11+
| --------- | ------------- | ----- |
12+
| GPIO | YES | YES |
13+
| UART | YES | YES |
14+
| SPI | YES | YES |
15+
| I2C | YES | YES |
16+
| ADC | YES | YES |
17+
| PWM | YES | YES |
18+
19+
## Machine Package Docs
20+
21+
[Documentation for the machine package for the Adafruit Feather RP2040](../machine/feather-rp2040)
22+
23+
## Flashing
24+
25+
### UF2
26+
27+
The Feather RP2040 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.
28+
29+
### CLI Flashing
30+
31+
- Plug your Feather RP2040 into your computer's USB port while holding down the RESET button on the board.
32+
- One plugged in, release the RESET button.
33+
- Flash your TinyGo program to the board using this command:
34+
35+
```shell
36+
tinygo flash -target=feather-rp2040 [PATH TO YOUR PROGRAM]
37+
```
38+
39+
- The Feather RP2040 board should restart and then begin running your program.
40+
41+
### Troubleshooting
42+
43+
Any troubleshooting tips go here.
44+
45+
## Notes
46+
47+
You cannot yet use the USB port to the Feather RP2040 as a serial port. Instead `UART0` refers to the TX/RX pins on the board itself.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: "Arduino Nano33 BLE"
3+
weight: 3
4+
---
5+
6+
The [Arduino Nano33 BLE](h) is a very small ARM development board based on the Nordic Semiconductor [nrf52840](https://www.nordicsemi.com/eng/Products/nRF52840) processor.
7+
8+
## Interfaces
9+
10+
| Interface | Hardware Supported | TinyGo Support |
11+
| --------- | ------------- | ----- |
12+
| GPIO | YES | YES |
13+
| UART | YES | YES |
14+
| SPI | YES | YES |
15+
| I2C | YES | YES |
16+
| ADC | YES | YES |
17+
| PWM | YES | YES |
18+
19+
## Machine Package Docs
20+
21+
[Documentation for the machine package for the Arduino Nano33 IoT](../machine/arduino-nano33-ble)
22+
23+
## Installing BOSSA
24+
25+
In order to flash your TinyGo programs onto the Arduino Nano33 BLE board, you will need to install the "arduino_bossac" command line utility which is a special build of the [BOSSA command line utilities](https://github.com/shumatech/BOSSA).
26+
27+
### macOS
28+
29+
Instructions needed here.
30+
31+
### Linux
32+
33+
Instructions needed here.
34+
35+
### Windows
36+
37+
Instructions needed here.
38+
39+
## Flashing
40+
41+
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 BLE board.
42+
43+
### CLI Flashing
44+
45+
- Plug your Arduino Nano33 BLE board into your computer's USB port.
46+
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the Arduino Nano33 BLE with the blinky1 example:
47+
48+
```shell
49+
tinygo flash -target=arduino-nano33-ble examples/blinky1
50+
```
51+
52+
- The Arduino Nano33 BLE board should restart and then begin running your program.
53+
54+
### Troubleshooting
55+
56+
Instructions needed here.
57+
58+
## Notes
59+
60+
You can use the USB port to the Arduino Nano33 BLE as a serial port. `UART0` refers to this connection.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "Nano RP2040"
3+
weight: 3
4+
---
5+
6+
The [Nano RP2040]() is a tiny development board based on the Raspberry Pi [RP2040]() microcontroller.
7+
8+
## Interfaces
9+
10+
| Interface | Hardware Supported | TinyGo Support |
11+
| --------- | ------------- | ----- |
12+
| GPIO | YES | YES |
13+
| UART | YES | YES |
14+
| SPI | YES | YES |
15+
| I2C | YES | YES |
16+
| ADC | YES | YES |
17+
| PWM | YES | YES |
18+
19+
## Machine Package Docs
20+
21+
[Documentation for the machine package for the Nano RP2040](../machine/nano-rp2040)
22+
23+
## Flashing
24+
25+
### UF2
26+
27+
The Nano RP2040 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.
28+
29+
### CLI Flashing
30+
31+
- Plug your Nano RP2040 into your computer's USB port while holding down the RESET button on the board.
32+
- One plugged in, release the RESET button.
33+
- Flash your TinyGo program to the board using this command:
34+
35+
```shell
36+
tinygo flash -target=nano-rp2040 [PATH TO YOUR PROGRAM]
37+
```
38+
39+
- The Nano RP2040 board should restart and then begin running your program.
40+
41+
### Troubleshooting
42+
43+
Any troubleshooting tips go here.
44+
45+
## Notes
46+
47+
You cannot yet use the USB port to the Nano RP2040 as a serial port. Instead `UART0` refers to the TX/RX pins on the board itself.

0 commit comments

Comments
 (0)