forked from alf45tar/PedalinoMini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
147 lines (137 loc) · 4.25 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
[platformio]
default_envs = esp32dev, esp32doit-devkit-v1, esp32doit-devkit-v1-ble, esp32doit-devkit-v1-wifi, ttgo-t-eight, ttgo-t-eight-ble, ttgo-t-eight-wifi
[common]
build_flags_esp32 =
-D PLATFORMIO_ENV=$PIOENV
-D PEDALINO_MINI
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_WARN
-D SSD1306WIRE
; -D SSH1106WIRE
-D WEBSOCKET
-D DIAGNOSTIC
; -D NOSMARTCONFIG
; -D NOWPS
; -D NOWEBCONFIG
-D NOBLYNK
build_flags_esp32-ble =
-D PLATFORMIO_ENV=$PIOENV
-D PEDALINO_MINI
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_WARN
-D NOWIFI
-D SSD1306WIRE
; -D SSH1106WIRE
build_flags_esp32-wifi =
-D PLATFORMIO_ENV=$PIOENV
-D PEDALINO_MINI
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_WARN
-D NOBLE
-D SSD1306WIRE
; -D SSH1106WIRE
-D WEBSOCKET
-D DIAGNOSTIC
; -D NOWEBCONFIG
-D NOBLYNK
build_flags_ttgo_t_eight =
-D PLATFORMIO_ENV=$PIOENV
-D PEDALINO_MINI
-D TTGO_T_EIGHT
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_WARN
-D WEBSOCKET
-D DIAGNOSTIC
; -D NOSMARTCONFIG
; -D NOWPS
; -D BATTERY
; -D BLUFI
; -D COMPONENT_EMBED_TXTFILES=data/bootstrap.min.css.gz:data/bootstrap.min.js.gz:data/jquery-3.3.1.slim.min.js.gz:data/popper.min.js.gz:data/logo.png:data/floating-labels.css.gz
; -D NOWIFI
; -D NOBLE
; -D NOWEBCONFIG
-D NOBLYNK
build_flags_ttgo_t_eight-ble =
-D PLATFORMIO_ENV=$PIOENV
-D PEDALINO_MINI
-D TTGO_T_EIGHT
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
; -D DEBUG_ESP_PORT=Serial
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_WARN
-D NOWIFI
-D NOWEBCONFIG
-D NOBLYNK
build_flags_ttgo_t_eight-wifi =
-D PLATFORMIO_ENV=$PIOENV
-D PEDALINO_MINI
-D TTGO_T_EIGHT
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_WARN
-D WEBSOCKET
-D NOBLE
-D DIAGNOSTIC
; -D NOWEBCONFIG
-D NOBLYNK
[env]
platform = espressif32
framework = arduino
board = esp32dev
board_build.f_flash = 80000000L
board_build.partitions = min_spiffs.csv
lib_deps = https://github.com/lathoub/Arduino-AppleMIDI-Library#v1.6.1
https://github.com/rlogiacco/BatterySense#1.1.1
https://github.com/blynkkk/blynk-library#v0.6.1
https://github.com/thomasfredericks/Bounce2#v2.53
https://github.com/me-no-dev/AsyncTCP
https://github.com/me-no-dev/ESPAsyncWebServer
https://github.com/ThingPulse/esp8266-oled-ssd1306#4.1.0
https://github.com/MajicDesigns/MD_UISwitch#v2.1.0
https://github.com/MajicDesigns/MD_REncoder#v1.0.1
https://github.com/alf45tar/arduino_midi_library
https://github.com/CNMAT/OSC#3.5.7
https://github.com/JoaoLopesF/RemoteDebug#v3.0.5
https://github.com/dxinteractive/ResponsiveAnalogRead#v1.2.1
https://github.com/lathoub/Arduino-BLE-MIDI
monitor_speed = 115200
[env:esp32dev]
build_flags = ${common.build_flags_esp32}
board_build.partitions = huge_app.csv
upload_port = COM4
monitor_port = ${env:esp32dev.upload_port}
[env:esp32doit-devkit-v1]
board = esp32doit-devkit-v1
build_flags = ${common.build_flags_esp32}
board_build.partitions = huge_app.csv
upload_port = COM4
monitor_port = ${env:esp32dev.upload_port}
[env:esp32doit-devkit-v1-ble]
board = esp32doit-devkit-v1
build_flags = ${common.build_flags_esp32-ble}
upload_port = COM4
monitor_port = ${env:esp32doit-devkit-v1-ble.upload_port}
[env:esp32doit-devkit-v1-wifi]
board = esp32doit-devkit-v1
build_flags = ${common.build_flags_esp32-wifi}
upload_port = COM4
monitor_port = ${env:esp32doit-devkit-v1-wifi.upload_port}
[env:ttgo-t-eight]
build_flags = ${common.build_flags_ttgo_t_eight}
board_build.partitions = huge_app.csv
;upload_port = 8e2de6b4.local
;upload_port = 192.168.2.117
;upload_port = /dev/tty.SLAB_USBtoUART
upload_port = COM5
monitor_port = ${env:ttgo-t-eight.upload_port}
[env:ttgo-t-eight-ble]
build_flags = ${common.build_flags_ttgo_t_eight-ble}
upload_port = COM5
monitor_port = ${env:ttgo-t-eight-ble.upload_port}
[env:ttgo-t-eight-wifi]
build_flags = ${common.build_flags_ttgo_t_eight-wifi}
upload_port = COM5
monitor_port = ${env:ttgo-t-eight-wifi.upload_port}