-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
52 lines (45 loc) · 1.48 KB
/
Copy pathplatformio.ini
File metadata and controls
52 lines (45 loc) · 1.48 KB
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
;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
[defines]
; Serial speed 74880 in order to be able to read the first boot messages on the serial console
monitor_baud = 74880
; Serial speed 230400 in order to be able to fast upload the firmware
upload_baud = 230400
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
upload_speed = ${defines.upload_baud}
monitor_speed = ${defines.monitor_baud}
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-D SERIAL_SPEED=${defines.monitor_baud}
-D ASYNC_TCP_SSL_ENABLED=0
-D HOMIE_CONFIG=0
-D HOMIE_MDNS=0
-D DEBUG_APP=1
lib_compat_mode = strict
lib_deps =
https://github.com/homieiot/homie-esp8266.git#develop ; the latest development branch (convention V3.0.x)
https://github.com/RobAxt/SyslogStream.git#main
https://github.com/arcao/Syslog.git#master
https://github.com/rlogiacco/CircularBuffer.git#master
ESP8266WiFi
ESP8266mDNS
ESP8266HTTPClient
DNSServer
ArduinoJson
AsyncMqttClient
AsyncTCP
Bounce2
; Download data folder to SPIFF
; pio run --target uploadfs
; Download firmware witout rebuild
; pio run -t nobuild -t upload