Wetterstation v2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.8 KiB

5 years ago
;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
5 years ago
framework = arduino
board = lolin_d32_pro
5 years ago
;powersave
board_build.f_cpu = 160000000L
5 years ago
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}\""
5 years ago
-DWIFI_SSID2="\"${sysenv.WIFI_SSID2}\""
-DWIFI_PASSWD2="\"${sysenv.WIFI_PASSWD2}\""
5 years ago
-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
5 years ago
lib_deps =
GxEPD2
; https://github.com/wemos/LOLIN_EPD_Library
Adafruit GFX Library
5 years ago
Adafruit BME280 Library
5 years ago
Adafruit BME680 Library
4 years ago
Adafruit BMP280 Library
5 years ago
Adafruit Unified Sensor
5 years ago
Adafruit BusIO
Adafruit VEML6075 Library
5 years ago
BH1750
; SDS011 sensor Library
; Nova Fitness Sds dust sensors library
https://github.com/lewapek/sds-dust-sensors-arduino-library.git
5 years ago
ArduinoJSON
4 years ago
; ESP8266 Influxdb
5 years ago
5 years ago
monitor_speed = 115200
upload_speed = 115200
5 years ago
5 years ago
extra_scripts =
pre:script/autoversioning.py
pre:lib/script/autoversioning.py