Skip to content

Commit 118029d

Browse files
authored
Create readme.md
1 parent aedfade commit 118029d

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

Bootloader/readme.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# StackRduino M0 PRO UF2 bootloader
2+
## Repository for building Adafruit UF2 bootloader for the StackRduino M0 PRO .
3+
4+
### Step 1 - Clone Repository and Set Up Environment
5+
```
6+
git clone https://github.com/adafruit/uf2-samdx1
7+
cd uf2-samdx1
8+
```
9+
10+
### Step 2 Install ARM-Cross Compilers
11+
```
12+
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
13+
sudo apt-get update
14+
sudo apt-get install gcc-arm-embedded
15+
```
16+
17+
## Step 3 Compile Board
18+
```
19+
make BOARD=stackrduino_m0_pro
20+
```
21+
22+
## Updating Firmware
23+
### Option 1
24+
Attach StackRduino M0 PRO to your computer via USB.
25+
Double Tap 'reset' button to put board into UF2 Bootloader mode
26+
Download the update-bootloader-M0-PRO uf2 file
27+
Copy update-bootloader-M0-PRO.uf2 to the USB Drive called "StackRduino"
28+
Done.
29+
### Option 2
30+
Attach StackRduino M0 PRO to your computer via USB.
31+
Download the update-bootloader-M0-PRO ino file
32+
Open the file using the Arduino ide and select the board and port for the StackRduino M0 pro.
33+
Upload the bootloader via normall upload icon
34+
Done.

0 commit comments

Comments
 (0)