-
Notifications
You must be signed in to change notification settings - Fork 17
/
platformio.ini
151 lines (144 loc) · 3.77 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
[platformio]
env_default = megaatmega2560, esp01_1m, esp12e, esp32dev, esp32doit-devkit-v1
;env_default = megaatmega2560, esp32doit-devkit-v1
;env_default = megaatmega2560
;env_default = esp32doit-devkit-v1
[common]
build_flags_avr =
-D DEBUG_PEDALINO
; -D BLYNK_DEBUG=1
build_flags_avr_uno =
; -D NOLCD=1
; -D NOBLYNK=1
build_flags_esp8266 =
; -D PEDALINO_TELNET_DEBUG
; -D DEBUG_ESP_PORT=Serial
; -D CORE_DEBUG_LEVEL=3
-D NOBLYNK=1
; -D NOWEBCONFIG=1
build_flags_esp32 =
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=3
-D NOBLYNK=1
-D NOWIFI=1
; -D NOBLE=1
lib_deps_builtin = Wire
lib_deps_avr = ArduinoJson
Blynk
Bounce2
IRremote
LiquidCrystal
https://github.com/alf45tar/MD_Menu
MD_UISwitch
MIDI Library
ResponsiveAnalogRead
lib_deps_esp = AppleMIDI
ArduinoJson
Blynk
MIDI Library
OSC
RemoteDebug
[env:uno]
platform = atmelavr
framework = arduino
board = uno
src_filter = +<avr>
build_flags = ${common.build_flags_avr_uno}
lib_deps = ${common.lib_deps_builtin}
${common.lib_deps_avr}
lib_ignore = RobotIRremote
RemoteDebug
; COM3 works for me. Change it because is PC dependant.
upload_port = COM3
monitor_port = ${env:uno.upload_speed}
monitor_speed = 115200
[env:megaatmega2560]
platform = atmelavr
framework = arduino
board = megaatmega2560
src_filter = +<avr>
build_flags = ${common.build_flags_avr}
lib_deps = ${common.lib_deps_builtin}
${common.lib_deps_avr}
lib_ignore = RobotIRremote
RemoteDebug
; COM3 works for me. Change it because is PC dependant.
upload_port = COM3
monitor_port = ${env:megaatmega2560.upload_port}
monitor_speed = 115200
[env:esp01_1m]
platform = espressif8266
framework = arduino
board = esp01_1m
src_filter = +<esp>
build_flags = ${common.build_flags_esp8266}
lib_deps = ${common.lib_deps_esp}
lib_ignore = RobotIRremote
IRremote
LiquidCrystal
ResponsiveAnalogRead
MD_Menu
MD_UISwitch
; It works only with Pedalino in serial passthrough mode
; COM3 works for me. Change it because is PC dependant.
upload_port = COM3
upload_speed = 115200
upload_resetmethod = none
monitor_port = ${env:esp01_1m.upload_port}
monitor_speed = ${env:esp01_1m.upload_speed}
[env:esp12e]
platform = espressif8266
framework = arduino
board = esp12e
src_filter = +<esp>
build_flags = ${common.build_flags_esp8266}
lib_deps = ${common.lib_deps_builtin}
${common.lib_deps_esp}
lib_ignore = RobotIRremote
IRremote
LiquidCrystal
ResponsiveAnalogRead
MD_Menu
MD_UISwitch
; COM4 works for me. Change it because is PC dependant.
upload_port = COM4
monitor_port = ${env:esp12e.upload_port}
monitor_speed = 115200
[env:esp32dev]
platform = espressif32
framework = arduino
board = esp32dev
src_filter = +<esp>
build_flags = ${common.build_flags_esp32}
lib_deps = ${common.lib_deps_builtin}
${common.lib_deps_esp}
lib_ignore = RobotIRremote
IRremote
LiquidCrystal
ResponsiveAnalogRead
MD_Menu
MD_UISwitch
board_build.partitions = no_ota.csv
; COM4 works for me. Change it because is PC dependant.
upload_port = COM4
monitor_port = ${env:esp32dev.upload_port}
monitor_speed = 115200
[env:esp32doit-devkit-v1]
platform = espressif32
framework = arduino
board = esp32doit-devkit-v1
src_filter = +<esp>
build_flags = ${common.build_flags_esp32}
lib_deps = ${common.lib_deps_builtin}
${common.lib_deps_esp}
lib_ignore = RobotIRremote
IRremote
LiquidCrystal
ResponsiveAnalogRead
MD_Menu
MD_UISwitch
board_build.partitions = no_ota.csv
; COM4 works for me. Change it because is PC dependant.
upload_port = COM4
monitor_port = ${env:esp32doit-devkit-v1.upload_port}
monitor_speed = 115200