forked from alf45tar/PedalinoMini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
138 lines (128 loc) · 3.56 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
[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 PEDALINO_MINI
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=3
-D SSD1306WIRE
; -D SSH1106WIRE
-D WEBSOCKET
-D DIAGNOSTIC
; -D NOWEBCONFIG
; -D NOBLYNK
build_flags_esp32-ble =
-D PEDALINO_MINI
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=3
-D NOWIFI
-D SSD1306WIRE
; -D SSH1106WIRE
build_flags_esp32-wifi =
-D PEDALINO_MINI
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=3
-D NOBLE
-D SSD1306WIRE
; -D SSH1106WIRE
-D WEBSOCKET
-D DIAGNOSTIC
; -D NOWEBCONFIG
; -D NOBLYNK
build_flags_ttgo_t_eight =
-D PEDALINO_MINI
-D TTGO_T_EIGHT
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=3
-D WEBSOCKET
-D DIAGNOSTIC
-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 PEDALINO_MINI
-D TTGO_T_EIGHT
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
; -D DEBUG_ESP_PORT=Serial
; -D CORE_DEBUG_LEVEL=3
-D NOWIFI
-D NOWEBCONFIG
-D NOBLYNK
build_flags_ttgo_t_eight-wifi =
-D PEDALINO_MINI
-D TTGO_T_EIGHT
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-D DEBUG_ESP_PORT=Serial
-D CORE_DEBUG_LEVEL=3
-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 = AppleMIDI
Battery Sense
Blynk
Bounce2
AsyncTCP
ESP Async WebServer
ESP8266_SSD1306
MD_UISwitch
https://github.com/alf45tar/arduino_midi_library
OSC
RemoteDebug
ResponsiveAnalogRead
https://github.com/lathoub/Arduino-BLE-MIDI
; https://github.com/lathoub/Arduino-ipMIDI
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}
board_build.partitions = huge_app.csv
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}