-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
48 lines (41 loc) · 1.29 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
; 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
[platformio]
default_envs = esp32dev
src_dir = WeatherStation
[env]
framework = arduino
monitor_speed = 115200
lib_deps =
adafruit/Adafruit Unified Sensor@^1.1.4
adafruit/Adafruit BME280 Library @ ^2.1.2
BH1750
#https://github.com/Bettapro/arduino-home-assistant.git
https://github.com/dawidchyrzynski/arduino-home-assistant.git#2.0.0
https://github.com/khoih-prog/ESP_DoubleResetDetector.git
https://github.com/tzapu/WiFiManager.git#v2.0.15-rc.1
https://github.com/bblanchon/ArduinoJson.git
https://github.com/mathworks/thingspeak-arduino.git
#build_type = debug
build_flags =
# stop first error
-fmax-errors=1
-DCORE_DEBUG_LEVEL=0
#lib_ldf_mode = deep+
[env:esp32dev]
platform = espressif32
board = esp32dev
upload_speed = 460800
monitor_filters = esp32_exception_decoder
lib_ignore = LittleFS_esp32
[env:esp8266]
platform = espressif8266
board = esp12e
monitor_filters = esp8266_exception_decoder