-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
78 lines (63 loc) · 2 KB
/
platformio.ini
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
[platformio]
;default_envs = 2k
;Inherited values for all envs
[env]
lib_deps =
Adafruit NeoPixel
Adafruit FreeTouch [email protected]
https://github.com/NicoHood/HID.git
platform = atmelsam
framework = arduino
upload_speed = 9600
[env:2k]
board = seeed_xiao
build_flags = -Dnumkeys=3 -Dnumleds=2 -Dneopin=0
lib_ignore = adafruit freetouch library
[env:2k-debug]
board = seeed_xiao
build_flags = -Dnumkeys=3 -Dnumleds=2 -Dneopin=0 -DDEBUG
lib_ignore = adafruit freetouch library
[env:4k]
board = seeed_xiao
build_flags = -Dnumkeys=5 -Dnumleds=4 -Dneopin=0
lib_ignore = adafruit freetouch library
[env:4k-debug]
board = seeed_xiao
build_flags = -Dnumkeys=5 -Dnumleds=4 -Dneopin=0 -DDEBUG
lib_ignore = adafruit freetouch library
[env:7k]
board = seeed_xiao
build_flags = -Dnumkeys=9 -Dnumleds=7 -Dneopin=0
lib_ignore = adafruit freetouch library
[env:MiniTouch]
board = adafruit_qt_py_m0
build_flags = -Dnumkeys=2 -Dnumleds=1 -Dneopin=PIN_NEOPIXEL -DTOUCH -DQTPY
[env:MegaTouch]
board = adafruit_qt_py_m0
build_flags = -Dnumkeys=4 -Dnumleds=1 -Dneopin=PIN_NEOPIXEL -DTOUCH -DQTPY
# Development models
[env:2x2Touch]
board = adafruit_qt_py_m0
build_flags = -Dnumkeys=4 -Dnumleds=1 -Dneopin=PIN_NEOPIXEL -DTOUCH -DALTPINS
[env:6k-mini]
board = adafruit_qt_py_m0
build_flags = -Dnumkeys=6 -Dnumleds=1 -Dneopin=PIN_NEOPIXEL -DTOUCH -DQTPY
## New xiao based models
[env:mini-xiao]
board = seeed_xiao
build_flags = -Dnumkeys=2 -Dnumleds=2 -Dneopin=10 -DTOUCH -DXIAO -DLED_TYPE=NEO_RGB
[env:mini-xiao-w]
board = seeed_xiao
build_flags = -Dnumkeys=2 -Dnumleds=2 -Dneopin=10 -DTOUCH -DXIAO -DLED_TYPE=NEO_RGBW
[env:mega-xiao]
board = seeed_xiao
build_flags = -Dnumkeys=4 -Dnumleds=2 -Dneopin=10 -DTOUCH -DXIAO -DLED_TYPE=NEO_GRB
[env:mega-xiao-w]
board = seeed_xiao
build_flags = -Dnumkeys=4 -Dnumleds=2 -Dneopin=10 -DTOUCH -DXIAO -DLED_TYPE=NEO_GRBW
[env:4k-mega-xiao]
board = seeed_xiao
build_flags = -Dnumkeys=6 -Dnumleds=4 -Dneopin=10 -DTOUCH -DXIAO -DLED_TYPE=NEO_GRBW