Skip to content

Commit cb1376b

Browse files
committed
Add codespaces instructions
1 parent 99f2fd2 commit cb1376b

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ $ brew install gcc-arm-embedded make stlink
5454
Start a terminal, and execute:
5555

5656
```sh
57+
$ sudo apt -y update
5758
$ sudo apt -y install gcc-arm-none-eabi make stlink-tools
5859
```
5960

@@ -74,6 +75,22 @@ $ sudo apt -y install gcc-arm-none-eabi make stlink-tools
7475
arm-none-eabi-gcc main.c -W -Wall -Wextra -Werror ...
7576
</pre>
7677

78+
### Setup instruction for in-browser development (using GitHub Codespaces):
79+
80+
- Click on the "Code" button, select "Codespaces" tab, click on plus icon
81+
<img src="images/codespace.png" width="50%" />
82+
- This repository will be opened in the in-browser editor, with an opened terminal:
83+
<img src="images/codespace-terminal.png" width="75%" />
84+
- Execute Linux/Ubuntu setup instructions in the terminal:
85+
```sh
86+
sudo apt -y update
87+
sudo apt -y install gcc-arm-none-eabi make stlink-tools
88+
```
89+
- Verify that the build process works:
90+
```sh
91+
cd step-4-printf
92+
make firmare.bin
93+
```
7794

7895
### Required datasheets
7996

images/codespace-terminal.png

285 KB
Loading

images/codespace.png

129 KB
Loading

0 commit comments

Comments
 (0)