-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
51 lines (46 loc) · 1.38 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
; 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
; for softwareserial issues, see https://community.platformio.org/t/softwareserial-not-compiling/19578/2
[env:wemos_d1]
platform = espressif8266
board = esp12e
lib_deps =
ESP8266WiFi
ArduinoOTA
EspHtmlTemplateProcessor
Syslog
[env:esp32_dev]
platform = espressif32
board = esp32dev
lib_deps =
ArduinoOTA
EspHtmlTemplateProcessor
Syslog
; plerup/EspSoftwareSerial@^6.12.2 ; commented since messes up wemos_d1 build because https://community.platformio.org/t/softwareserial-not-compiling/19578/2
; base settings for all devices
[env]
framework = arduino
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
;upload_port = /dev/ttyUSB*
;upload_port = COM4
monitor_speed = 74880
;
;
; for Over-The-Air updates using ArduinoOTA (not Homie's own OTA, which works via MQTT)
; NOTE: ESP will need to have access to host at <host_port> (temporary OTA server)
; NOTE2: Uncomment --spiffs to upload filesystem
;
upload_protocol = espota
upload_port = 192.168.1.167
upload_flags =
--port=8266
--host_port=10001
--debug
; ;--spiffs