forked from tonuino/TonUINO-TNG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
114 lines (91 loc) · 2.21 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env]
lib_deps =
jchristensen/JC_Button@^2.1.2
miguelbalboa/MFRC522@^1.4.10
makuna/DFPlayer Mini Mp3 by [email protected]
build_flags =
-std=c++17
-D__IN_VS_CODE__
build_unflags =
-std=gnu++11
framework = arduino
[env:TonUINO_Classic_3]
platform = atmelavr
board = nanoatmega328
build_flags =
${env.build_flags}
-D TonUINO_Classic=1
monitor_speed = 115200
[env:TonUINO_Classic_5]
platform = atmelavr
board = nanoatmega328
build_flags =
${env.build_flags}
-D TonUINO_Classic=1
-D FIVEBUTTONS=1
monitor_speed = 115200
[env:TonUINO_Classic_3x3]
platform = atmelavr
board = nanoatmega328
build_flags =
${env.build_flags}
-D TonUINO_Classic=1
-D BUTTONS3X3=1
monitor_speed = 115200
[env:ALLinONE]
platform = lgt8f
board = LGT8F328P
board_build.f_cpu = 16000000L
; 1=internal clock, 2=external clock
board_build.clock_source = 2
; platform_packages = framework-lgt8fx@file://./lgt8f-1.0.6.zip
build_flags =
${env.build_flags}
-D ALLinONE=1
monitor_speed = 115200
[env:ALLinONE_3x3]
platform = lgt8f
board = LGT8F328P
board_build.f_cpu = 16000000L
; 1=internal clock, 2=external clock
board_build.clock_source = 2
; platform_packages = framework-lgt8fx@file://./lgt8f-1.0.6.zip
build_flags =
${env.build_flags}
-D ALLinONE=1
-D BUTTONS3X3=1
monitor_speed = 115200
[env:ALLinONE_Plus]
platform = atmelmegaavr
board = ATmega4809
board_build.f_cpu = 16000000L
board_hardware.oscillator = internal
board_build.variant = 48pin-standard
build_flags =
${env.build_flags}
-D ALLinONE_Plus=1
upload_protocol = arduino
upload_flags =
monitor_speed = 115200
[env:ALLinONE_Plus_3x3]
platform = atmelmegaavr
board = ATmega4809
board_build.f_cpu = 16000000L
board_hardware.oscillator = internal
board_build.variant = 48pin-standard
build_flags =
${env.build_flags}
-D ALLinONE_Plus=1
-D BUTTONS3X3=1
upload_protocol = arduino
upload_flags =
monitor_speed = 115200