|
|
|
;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
|
|
|
|
|
|
|
|
[env:lolin_d32_pro]
|
|
|
|
platform = espressif32
|
|
|
|
;platform = https://github.com/platformio/platform-espressif32.git
|
|
|
|
framework = arduino
|
|
|
|
board = lolin_d32_pro
|
|
|
|
|
|
|
|
;powersave
|
|
|
|
board_build.f_cpu = 160000000L
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-DLOG_DEFAULT_LEVEL=ESP_LOG_VERBOSE
|
|
|
|
-DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE
|
|
|
|
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
|
|
; -DBOARD_HAS_PSRAM
|
|
|
|
; -mfix-esp32-psram-cache-issue
|
|
|
|
-DWIFI_SSID="\"${sysenv.WIFI_SSID}\""
|
|
|
|
-DWIFI_PASSWD="\"${sysenv.WIFI_PASSWD}\""
|
|
|
|
-DWIFI_SSID2="\"${sysenv.WIFI_SSID2}\""
|
|
|
|
-DWIFI_PASSWD2="\"${sysenv.WIFI_PASSWD2}\""
|
|
|
|
-DWIFI_SSID3="\"${sysenv.WIFI_SSID3}\""
|
|
|
|
-DWIFI_PASSWD3="\"${sysenv.WIFI_PASSWD3}\""
|
|
|
|
-DMQTT_BROKER_URI="\"${sysenv.MQTT_BROKER_URI}\""
|
|
|
|
-DMQTT_USERNAME="\"${sysenv.MQTT_USERNAME}\""
|
|
|
|
-DMQTT_PASSWORD="\"${sysenv.MQTT_PASSWORD}\""
|
|
|
|
-DARDUINO_SAMD_VARIANT_COMPLIANCE
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
GxEPD2
|
|
|
|
; https://github.com/wemos/LOLIN_EPD_Library
|
|
|
|
Adafruit GFX Library
|
|
|
|
Adafruit BME280 Library
|
|
|
|
Adafruit BME680 Library
|
|
|
|
Adafruit Unified Sensor
|
|
|
|
Adafruit BusIO
|
|
|
|
Adafruit VEML6075 Library
|
|
|
|
BH1750
|
|
|
|
; SDS011 sensor Library
|
|
|
|
; Nova Fitness Sds dust sensors library
|
|
|
|
https://github.com/lewapek/sds-dust-sensors-arduino-library.git
|
|
|
|
; ArduinoJSON
|
|
|
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
|
|
|
|
|
extra_scripts =
|
|
|
|
pre:script/autoversioning.py
|
|
|
|
pre:lib/script/autoversioning.py
|