-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
92 lines (62 loc) · 1.96 KB
/
Makefile
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
run_in_nix = nix develop --ignore-environment -k HOME -k OTA_SECRET --command
# default location for binaries installed by platformio IDE in vscode
pio_binary = $(run_in_nix) ~/.platformio/penv/bin/platformio
generate:
$(run_in_nix) python3 nanopb/nanopb_generator.py --cpp-descriptors -S .cpp -D lib/Generated/ command_schemas.proto
$(run_in_nix) elixir generate_field_selectors.exs
cp command_schemas.proto ../tr33_control/
monitor:
$(pio_binary) device monitor
clean:
$(pio_binary) run --target clean
dev1:
$(pio_binary) run --target upload -e dev1
dev2:
$(pio_binary) run --target upload -e dev2
wand:
$(pio_binary) run --target upload -e wand
neon:
$(pio_binary) run --target upload -e neon
xhain: tr33 ranken scubar wolken trommel
wolken:
$(pio_binary) run --target upload -e wolke1 -e wolke2 -e wolke3 -e wolke4 -e wolke5 -e wolke6 -e wolke10 -e wolke11 -e wolke12 -e wolke13
wolke1:
$(pio_binary) run --target upload -e wolke1
wolke2:
$(pio_binary) run --target upload -e wolke2
wolke3:
$(pio_binary) run --target upload -e wolke3
wolke4:
$(pio_binary) run --target upload -e wolke4
wolke5:
$(pio_binary) run --target upload -e wolke5
wolke6:
$(pio_binary) run --target upload -e wolke6
wolke7:
$(pio_binary) run --target upload -e wolke7
wolke8:
$(pio_binary) run --target upload -e wolke8
wolke9:
$(pio_binary) run --target upload -e wolke9
wolke10:
$(pio_binary) run --target upload -e wolke10
wolke11:
$(pio_binary) run --target upload -e wolke11
wolke12:
$(pio_binary) run --target upload -e wolke12
wolke13:
$(pio_binary) run --target upload -e wolke13
tr33:
$(pio_binary) run --target upload -e tr33
trommel:
$(pio_binary) run --target upload -e trommel
ranken:
$(pio_binary) run --target upload -e ranken
scubar:
$(pio_binary) run --target upload -e scubar
tetraeder:
$(pio_binary) run --target upload -e tetraeder
arrow:
$(pio_binary) run --target upload -e arrow
minichrome:
$(pio_binary) run --target upload -e minichrome