forked from tonuino/TonUINO-TNG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
97 lines (84 loc) · 2.08 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
; 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:TonUINO_Classic_3]
platform = atmelavr
board = nanoatmega328
framework = arduino
lib_deps =
jchristensen/JC_Button@^2.1.2
miguelbalboa/MFRC522@^1.4.10
makuna/DFPlayer Mini Mp3 by Makuna@1.1.0
build_flags =
-D TonUINO_Classic=1
-std=c++17
-D__IN_VS_CODE__
build_unflags =
-std=gnu++11
monitor_speed = 115200
monitor_port = /dev/tty.asd
[env:TonUINO_Classic_5]
platform = atmelavr
board = nanoatmega328
framework = arduino
lib_deps =
jchristensen/JC_Button@^2.1.2
miguelbalboa/MFRC522@^1.4.10
makuna/DFPlayer Mini Mp3 by Makuna@1.1.0
build_flags =
-D TonUINO_Classic=1
-D FIVEBUTTONS=1
-std=c++17
-D__IN_VS_CODE__
build_unflags =
-std=gnu++11
monitor_speed = 115200
monitor_port = /dev/tty.usbmodem*
[env:ALLinONE]
platform = lgt8f
board = LGT8F328P
board_build.f_cpu = 16000000L
; 1=internal clock, 2=external clock
board_build.clock_source = 2
framework = arduino
platform_packages = framework-lgt8fx@file://./lgt8f-1.0.6.zip
lib_deps =
jchristensen/JC_Button@^2.1.2
miguelbalboa/MFRC522@^1.4.10
makuna/DFPlayer Mini Mp3 by Makuna@1.1.0
build_flags =
-D ALLinONE=1
-std=c++17
-D__IN_VS_CODE__
build_unflags =
-std=gnu++11
monitor_port = /dev/tty.usbmodem*
monitor_speed = 115200
[env:ALLinONE_Plus]
platform = atmelmegaavr
framework = arduino
board = ATmega4809
board_build.f_cpu = 16000000L
board_hardware.oscillator = internal
board_build.variant = 48pin-standard
build_flags =
-D ALLinONE_Plus=1
-std=c++17
-D__IN_VS_CODE__
build_unflags =
-std=gnu++11
lib_deps =
jchristensen/JC_Button@^2.1.2
miguelbalboa/MFRC522@^1.4.10
makuna/DFPlayer Mini Mp3 by Makuna@1.1.0
upload_protocol = arduino
upload_flags =
upload_port = /dev/cu.usbserial-147*
monitor_speed = 115200
monitor_port = /dev/cu.usbserial-147*