-
Notifications
You must be signed in to change notification settings - Fork 9
/
platformio.ini
160 lines (132 loc) · 3.66 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
152
153
154
155
156
157
158
159
160
;
; 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
; platformio >= 4 wird benötigt
[platformio]
src_dir = decoder
;default_envs = d1_mini
;env_default = esp32dev
;env_default = d1_mini
;env_default = mhetesp32minikit
;env_default = esp32full
;env_default = d1_mini_pro
;env_default = esp8285
;env_default = nodemcuv2
[base]
check_tool = cppcheck, clangtidy
data_dir = data
framework = arduino
lib_deps =
# Adafruit MCP23017 Arduino [email protected]
https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library#1.0.3
ivanseidel/LinkedList
https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library#1.0.4
# Adafruit PWM Servo Driver [email protected]
Adafruit SSD1306 Wemos Mini OLED
https://github.com/adafruit/Adafruit-GFX-Library#1.5.7
# Adafruit GFX [email protected]
LiquidCrystal
https://github.com/littleyoda/LCDIC2
https://github.com/PetrOsipov/ArduinoPortExtender.git
# https://github.com/greiman/SSD1306Ascii
upload_port = /dev/ttyUSB*
#upload_speed = 921600
upload_speed = 460800
upload_protocol = esptool
upload_resetmethod = nodemcu
monitor_port = /dev/ttyUSB0
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
[baseESP8266]
extends = base
; see https://github.com/platformio/platform-espressif8266/releases
; [email protected] => Arduino Framework 2.6.3
; [email protected] => Arduino Framwork 2.7.4
platform = espressif8266@^2
board_build.mcu = esp8266
board_build.f_cpu = 80000000L
board_build.flash_mode = dout
monitor_filters = esp8266_exception_decoder
[baseESP32]
extends = base
platform = [email protected]
lib_deps =
${base.lib_deps}
https://github.com/jkb-git/ESP32Servo.git
https://github.com/vanvuongngo/ESP32_AnalogWrite
build_flags = -DCORE_DEBUG_LEVEL=0
monitor_filters = esp32_exception_decoder
[env:d1_mini]
extends = baseESP8266
board = d1_mini
build_flags =
-DARDUINO_ESP8266_WEMOS_D1MINI
check_tool = cppcheck
check_flags = --enable=all --suppress=noCopyConstructor,noOperatorEq
check_skip_packages = yes
[env:d1_mini_pro]
extends = baseESP8266
board = d1_mini_pro
build_flags =
-DARDUINO_ESP8266_WEMOS_D1MINI
[env:nodemcu]
extends = baseESP8266
board = nodemcu
build_flags =
-DARDUINO_ESP8266_NODEMCU
[env:nodemcuv2]
extends = baseESP8266
board = nodemcuv2
build_flags =
-DARDUINO_ESP8266_NODEMCU
[env:esp8285]
extends = baseESP8266
board = esp8285
build_flags =
-DARDUINO_ESP8266_ESP01
[env:esp8285min]
extends = baseESP8266
board = esp8285
build_flags =
-DARDUINO_ESP8266_ESP01
-DFLASH1MB
board_build.ldscript = eagle.flash.1m64.ld
src_filter = src_filter = +<*> -<.git/> -<svn/> -<example/> -<examples/> -<src> -<Display*> -<LocDataControll*> -<CmdReceiverRocnetOverMQTT*> -<PubSubClient*> -<CmdReceiverDCC*>
[env:esp32dev]
extends = baseESP32
board = esp32dev
build_flags =
-DESP32
[env:mhetesp32minikit]
extends = baseESP32
board = mhetesp32minikit
build_flags =
-DESP32
[env:esp32full]
extends = baseESP32
board = mhetesp32minikit
board_build.partitions = less_spiffs.csv
build_flags =
-DLY_FEATURE_AUDIO
-DESP32
lib_deps =
${baseESP32.lib_deps}
earlephilhower/ESP8266Audio
https://github.com/Gianbacchio/ESP8266_Spiram#master
[env:esp32lego]
extends = baseESP32
board = esp32dev
board_build.partitions = huge_app.csv
build_flags =
-DLY_FEATURE_LEGO
-DESP32
lib_deps =
${baseESP32.lib_deps}
h2zero/NimBLE-Arduino
corneliusmunz/legoino