Skip to content

Commit 5c2c358

Browse files
deadprogramconejoninja
authored andcommitted
microcontrollers: more details on new boards and also bluetooth support
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 39da656 commit 5c2c358

File tree

12 files changed

+127
-7
lines changed

12 files changed

+127
-7
lines changed

content/microcontrollers/bbc-microbit.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The BBC [micro:bit](https://microbit.org) is a tiny programmable computer design
1515
| I2C | YES | YES |
1616
| ADC | YES | Not yet |
1717
| PWM | Software support | Not yet |
18+
| Bluetooth | YES | YES |
1819

1920
## Machine Package Docs
2021

@@ -68,3 +69,5 @@ machine.SPI1.Configure(machine.SPIConfig{
6869
// use I2C0 as normally do
6970
machine.I2C0.Configure(machine.I2CConfig{})
7071
```
72+
73+
Bluetooth support is now available for the BBC micro:bit board. See https://github.com/tinygo-org/bluetooth for more information.

content/microcontrollers/clue-alpha.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The [Adafruit CLUE](https://www.adafruit.com/product/4500) is small ARM developm
1515
| I2C | YES | YES |
1616
| ADC | YES | YES |
1717
| PWM | YES | YES |
18+
| Bluetooth | YES | YES |
1819

1920
## Machine Package Docs
2021

@@ -79,4 +80,4 @@ You can use the USB port to the CLUE as a serial port. `UART0` refers to this co
7980

8081
For an example that uses the built-in Neopixel LEDs, take a look at the TinyGo drivers repository located at [https://github.com/tinygo-org/drivers/tree/release/examples](https://github.com/tinygo-org/drivers)
8182

82-
Bluetooth support is in development but not yet completed.
83+
Bluetooth support is now available for the Adafruit CLUE board. See https://github.com/tinygo-org/bluetooth for more information.

content/microcontrollers/esp32.md

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,66 @@ The [Espressif ESP32]() is a tiny development board based on the Xtensa [ESP32](
2424

2525
### CLI Flashing on Linux
2626

27-
Goes here
27+
You need to install the Espressif toolchain for Linux to use TinyGo with the ESP32:
28+
29+
https://docs.espressif.com/projects/esp-idf/en/release-v3.0/get-started/linux-setup.html#standard-setup-of-toolchain-for-linux
30+
31+
In addition, you must install the `esptool` flashing tool:
32+
33+
https://github.com/espressif/esptool#easy-installation
34+
35+
Now you should be able to flash your board as follows:
36+
37+
- Plug your ESP32 board into your computer's USB port.
38+
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the ESP32 with the blinky1 example:
39+
40+
```
41+
tinygo flash -target=esp32-wroom-32 examples/blinky1
42+
```
43+
44+
- The ESP32 board should restart and then begin running your program.
2845
2946
### CLI Flashing on macOS
3047
31-
Goes here
48+
You need to install the Espressif toolchain for macOS to use TinyGo with the ESP32:
49+
50+
https://docs.espressif.com/projects/esp-idf/en/release-v3.0/get-started/macos-setup.html
51+
52+
In addition, you must install the `esptool` flashing tool:
53+
54+
https://github.com/espressif/esptool#easy-installation
55+
56+
Now you should be able to flash your board as follows:
57+
58+
- Plug your ESP32 board into your computer's USB port.
59+
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the ESP32 with the blinky1 example:
60+
61+
```
62+
tinygo flash -target=esp32-wroom-32 examples/blinky1
63+
```
64+
65+
- The ESP32 board should restart and then begin running your program.
3266
3367
### CLI Flashing on Windows
3468
35-
Goes here
69+
You need to install the Espressif toolchain for Windows to use TinyGo with the ESP32:
70+
71+
https://docs.espressif.com/projects/esp-idf/en/release-v3.0/get-started/windows-setup.html
72+
73+
In addition, you must install the `esptool` flashing tool:
74+
75+
https://github.com/espressif/esptool#easy-installation
76+
77+
Now you should be able to flash your board as follows:
78+
79+
- Plug your ESP32 board into your computer's USB port.
80+
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the ESP32 with the blinky1 example:
81+
82+
```
83+
tinygo flash -target=esp32-wroom-32 examples/blinky1
84+
```
85+
86+
- The ESP32 board should restart and then begin running your program.
3687
3788
### Troubleshooting
3889

content/microcontrollers/esp8266.md

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,66 @@ The [Espressif ESP8266]() is a tiny development board based on the Xtensa [ESP82
2424

2525
### CLI Flashing on Linux
2626

27-
Goes here
27+
You need to install the Espressif toolchain for Linux to use TinyGo with the ESP8266. Note that it is the same download as for the ESP32:
28+
29+
https://docs.espressif.com/projects/esp-idf/en/release-v3.0/get-started/linux-setup.html#standard-setup-of-toolchain-for-linux
30+
31+
In addition, you must install the `esptool` flashing tool:
32+
33+
https://github.com/espressif/esptool#easy-installation
34+
35+
Now you should be able to flash your board as follows:
36+
37+
- Plug your ESP8266 board into your computer's USB port.
38+
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the ESP8266 with the blinky1 example:
39+
40+
```
41+
tinygo flash -target=esp8266 examples/blinky1
42+
```
43+
44+
- The ESP8266 board should restart and then begin running your program.
2845
2946
### CLI Flashing on macOS
3047
31-
Goes here
48+
You need to install the Espressif toolchain for macOS to use TinyGo with the ESP8266. Note that it is the same download as for the ESP32:
49+
50+
https://docs.espressif.com/projects/esp-idf/en/release-v3.0/get-started/macos-setup.html
51+
52+
In addition, you must install the `esptool` flashing tool:
53+
54+
https://github.com/espressif/esptool#easy-installation
55+
56+
Now you should be able to flash your board as follows:
57+
58+
- Plug your ESP8266 board into your computer's USB port.
59+
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the ESP8266 with the blinky1 example:
60+
61+
```
62+
tinygo flash -target=esp8266 examples/blinky1
63+
```
64+
65+
- The ESP826 board should restart and then begin running your program.
3266
3367
### CLI Flashing on Windows
3468
35-
Goes here
69+
You need to install the Espressif toolchain for Windows to use TinyGo with the ESP826. Note that it is the same download as for the ESP32:
70+
71+
https://docs.espressif.com/projects/esp-idf/en/release-v3.0/get-started/windows-setup.html
72+
73+
In addition, you must install the `esptool` flashing tool:
74+
75+
https://github.com/espressif/esptool#easy-installation
76+
77+
Now you should be able to flash your board as follows:
78+
79+
- Plug your ESP826 board into your computer's USB port.
80+
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the ESP826 with the blinky1 example:
81+
82+
```
83+
tinygo flash -target=esp8266 examples/blinky1
84+
```
85+
86+
- The ESP826 board should restart and then begin running your program.
3687
3788
### Troubleshooting
3889

content/microcontrollers/nrf52840-mdk.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The [nRF52840-MDK](https://wiki.makerdiary.com/nrf52840-mdk/) is an open-source,
1515
| I2C | YES | YES |
1616
| ADC | YES | Not yet |
1717
| PWM | YES | Not yet |
18+
| Bluetooth | YES | YES |
1819

1920
## Machine Package Docs
2021

@@ -28,3 +29,7 @@ Programs are loaded onto the nRF52840-MDK board using the `openocd` command line
2829

2930
- Plug your nRF52840-MDK into your computer's USB port.
3031
- Build and flash your TinyGo program using `tinygo flash -target=nrf52840-mdk`
32+
33+
## Notes
34+
35+
Bluetooth support is now available for nRF52840 boards. See https://github.com/tinygo-org/bluetooth for more information.

content/microcontrollers/particle-argon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ weight: 3
1515
| I2C | YES | YES |
1616
| ADC | YES | YES |
1717
| PWM | YES | YES |
18+
| Bluetooth | YES | Not yet |
1819

1920
## Machine Package Docs
2021

content/microcontrollers/particle-boron.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ weight: 3
1515
| I2C | YES | YES |
1616
| ADC | YES | YES |
1717
| PWM | YES | YES |
18+
| Bluetooth | YES | Not yet |
1819

1920
## Machine Package Docs
2021

content/microcontrollers/particle-xenon.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ weight: 3
1515
| I2C | YES | YES |
1616
| ADC | YES | YES |
1717
| PWM | YES | YES |
18+
| Bluetooth | YES | Not yet |
1819

1920
## Machine Package Docs
2021

content/microcontrollers/pca10031.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The [Nordic Semiconductor PCA10031](https://www.nordicsemi.com/eng/Products/nRF5
1515
| I2C | YES | Not yet |
1616
| ADC | YES | Not yet |
1717
| PWM | YES | Not yet |
18+
| Bluetooth | YES | YES |
1819

1920
## Machine Package Docs
2021

content/microcontrollers/pca10040.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The [Nordic Semiconductor PCA10040](https://www.nordicsemi.com/eng/Products/Blue
1515
| I2C | YES | YES |
1616
| ADC | YES | YES |
1717
| PWM | YES | YES |
18+
| Bluetooth | YES | YES |
1819

1920
## Machine Package Docs
2021

0 commit comments

Comments
 (0)