Skip to content

Commit 9934b47

Browse files
committed
fix: interface for work out of vscode
1 parent d255461 commit 9934b47

File tree

3 files changed

+45
-18
lines changed

3 files changed

+45
-18
lines changed

embedded_firmware/Makefile

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,5 @@
33
#SHELL := /bin/bash
44
#PATH := /usr/local/bin:$(PATH)
55

6-
all:
7-
pio -f -c vim run
8-
9-
upload:
10-
pio -f -c vim run --target upload
11-
12-
clean:
13-
pio -f -c vim run --target clean
14-
15-
program:
16-
pio -f -c vim run --target program
17-
18-
uploadfs:
19-
pio -f -c vim run --target uploadfs
20-
216
initlsp:
227
pio -f -c vim run -t compiledb
23-
24-
update:
25-
pio -f -c vim update

embedded_firmware/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Programme coeur embarqué
2+
3+
## Compiler le programme
4+
5+
```sh
6+
just build
7+
```
8+
9+
## Téléverser
10+
11+
La carte doit être branchée à l'ordinateur.
12+
13+
```sh
14+
just upload
15+
```
16+
17+
## Suppression des fichiers compilés
18+
19+
```sh
20+
just clean
21+
```
22+
23+
## Inspection du code en temps réel
24+
25+
```sh
26+
just check
27+
```
28+
29+
## Initialisation du workspace pour clang dans neovim
30+
31+
```sh
32+
make initlsp
33+
```
34+

embedded_firmware/justfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
build:
2+
pio run
3+
4+
upload:
5+
pio run --target upload
6+
7+
clean:
8+
pio run --target clean
9+
10+
check:
11+
pio check

0 commit comments

Comments
 (0)