Skip to content

Commit 45ea69b

Browse files
committed
Add giga to board examples
Rename "Board API" to "Examples by Board" to reflect the content better. Also added GIGA instructions to board installation.
1 parent 1ecbbea commit 45ea69b

File tree

8 files changed

+22
-9
lines changed

8 files changed

+22
-9
lines changed
Loading

Diff for: content/micropython/01.basics/02.board-installation/board-installation.md

+19-5
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,20 @@ Follow the steps below to install MicroPython on the Nano RP2040 Connect board.
125125

126126
Congratulations, you are now ready to program your Nano RP2040 Connect with MicroPython.
127127

128+
## GIGA R1 WiFi
129+
130+
- [Arduino GIGA R1 WiFi documentation](/hardware/giga-r1-wifi)
131+
132+
![GIGA R1 WiFi.](assets/giga-r1-wifi.png)
133+
134+
The installation instructions for the **GIGA R1 WiFi** is identical to the **Portenta H7** instructions found just below.
135+
136+
You will however need a different firmware, which you can download from the link below:
137+
138+
- [Download GIGA R1 WiFi MicroPython firmware (dfu)](/resources/firmware/GIGAR1_MP_FW.dfu)
139+
140+
***The GIGA R1 WiFi and Portenta H7 boards are based on the same microcontroller, [STM32H747XI](static/resources/datasheets/stm32h747xi.pdf) and therefore share the same installation instructions.***
141+
128142
## Portenta H7
129143

130144
- [Arduino Portenta H7 Documentation](https://docs.arduino.cc/hardware/portenta-h7)
@@ -147,7 +161,7 @@ Open the Arduino IDE (not Arduino Lab for MicroPython) and navigate to the board
147161

148162
**Step 2: Download Firmware**
149163

150-
Now you will need to find the specific firmware that you need to flash to your board. You can find the available firmware on the [MicroPython](https://docs.arduino.cc/micropython/) documentation site. The firmware is available as a `.dfu` file for the Portenta H7.
164+
Now you will need to find the specific firmware that you need to flash to your board. You can find the available firmware on the [MicroPython with Arduino](https://docs.arduino.cc/micropython/) home page. The firmware is available as a `.dfu` file for the Portenta H7.
151165

152166
In the next step you will be diving into the core files you downloaded in the first step to find a command line tool called **dfu-util**. This process is differs depending on if you're on a Windows or MacOS computer. MacOS instructions are available further below.
153167

@@ -156,7 +170,7 @@ In the next step you will be diving into the core files you downloaded in the fi
156170
To flash your board, you will need a file named `dfu-util.exe`. This is found in your following directory:
157171

158172
```
159-
C:\Users\[your-username]\AppData\Local\Arduino15\staging\packages\dfu-util-0.10.0-arduino1-windows.tar.bz2\dfu-util-0.10.0-arduino1-windows.tar\windows\
173+
C:\Users\<your-username>\AppData\Local\Arduino15\staging\packages\dfu-util-0.10.0-arduino1-windows.tar.bz2\dfu-util-0.10.0-arduino1-windows.tar\windows\
160174
```
161175

162176
One you've found the file, extract it from the .tar archive and copy it somewhere else, your desktop for example.
@@ -168,7 +182,7 @@ If successful, another command terminal window should open in which you are able
168182
Double tap the reset button on your board to put it in DFU mode, and execute the following command, but replace the path of the firmware file with the directory where you have placed the firmware you downloaded previously:
169183

170184
```
171-
dfu-util -a 0 -d 0x2341:0x035b -D [firmware]
185+
dfu-util -a 0 -d 0x2341:0x035b -D <firmware>.dfu
172186
```
173187

174188
Again, don't disconnect or power off your board during this part of the process, watch the progress of flashing the firmware to your board.
@@ -196,11 +210,11 @@ Now, you should be able to execute the command that will flash your board with t
196210
Double tap the reset button on your board to put it in DFU mode, and execute the following command, but replace the path of the firmware file with the directory where you have placed the firmware you downloaded previously:
197211

198212
```
199-
dfu-util -a 0 -d 0x2341:0x035b -D [firmware]
213+
dfu-util -a 0 -d 0x2341:0x035b -D <firmware>.dfu
200214
```
201215

202216
Do not disconnect your board during this part of the process, watch the progress of flashing the firmware to your board.
203217

204218
Once complete, you're all set and you're ready to start programming the board in MicroPython.
205219

206-
Go to the Arduino Lab MicroPython IDE and press connect in the top left corner, choose the port, and code away!
220+
Go to the Arduino Lab MicroPython IDE and press connect in the top left corner, choose the port and you are ready to load scripts to your board.

Diff for: content/micropython/01.basics/06.board-api/board-api.md renamed to content/micropython/01.basics/06.board-examples/board-examples.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
2-
title: Board API
3-
description: Find examples for a specific Arduino board
2+
title: Examples by Board
3+
description: Find examples that work only with specific boards, such as reading built-in sensors.
44
author: Karl Söderby
55
micropython_type: basics
66
featured: micropython
77
hero_image: "./hero-banner.png"
8-
previous_article: "/micropython/basics/digital-analog-pins"
98
---
109

11-
In this article, you will find examples that works only with specific boards. You can also view the GPIO map that explains how each pin can be addressed.
10+
In this article, you will find examples that works only with specific boards. Each board also has a GPIO map that explains how each pin can be addressed.
1211

1312
## Nano RP2040 Connect
1413

0 commit comments

Comments
 (0)