-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 723 Bytes
/
Makefile
File metadata and controls
39 lines (30 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.PHONY: clean
clean:
rm -rf .pio
.PHONY: teensy-firmware
teensy-firmware: clean
pio run -e teensy40
.PHONY: teensy-upload
teensy-upload: clean
pio run -e teensy40 --target upload --upload-port /dev/ttyACM0
.PHONY: mega-firmware
mega-firmware: clean
pio run -e mega
.PHONY: mega-upload
mega-upload: clean
pio run -e mega --target upload --upload-port /dev/ttyACM0
.PHONY: uno-firmware
uno-firmware: clean
pio run -e uno
.PHONY: uno-upload
uno-upload: clean
pio run -e uno --target upload --upload-port /dev/ttyACM0
.PHONY: pico-firmware
pico-firmware: clean
pio run -e pico
.PHONY: pico-upload
pico-upload: clean
pio run -e pico --target upload
.PHONY: monitor
monitor:
pio device monitor --echo --eol=LF