-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 760 Bytes
/
Makefile
File metadata and controls
35 lines (27 loc) · 760 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
.PHONY: clean
clean:
rm -rf .pio
.PHONY: teensy-firmware
teensy-firmware: clean
pio run -e teensy31
.PHONY: teensy-upload
teensy-upload: clean
pio run -e teensy31 --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: feather-firmware
feather-firmware: clean
pio run -e feather
.PHONY: feather-upload
feather-upload: clean
pio run -e feather --target upload
.PHONY: monitor
monitor:
pio device monitor
.PHONY: udev-rules
udev-rules:
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules