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.

42 lines
1.2 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#feature/stage
5 years ago
framework = arduino
board = lolin_d32_pro
5 years ago
build_flags =
-DLOG_DEFAULT_LEVEL=ESP_LOG_DEBUG
# -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG
5 years ago
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DWIFI_SSID="\"${sysenv.WIFI_SSID}\""
-DWIFI_PASSWD="\"${sysenv.WIFI_PASSWD}\""
-DWIFI_SSID2="\"${sysenv.WIFI_SSID}\""
-DWIFI_PASSWD2="\"${sysenv.WIFI_PASSWD}\""
-DMQTT_BROKER_URI="\"${sysenv.MQTT_BROKER_URI}\""
-DMQTT_USERNAME="\"${sysenv.MQTT_USERNAME}\""
-DMQTT_PASSWORD="\"${sysenv.MQTT_PASSWORD}\""
5 years ago
lib_deps =
GxEPD2
Adafruit GFX Library
5 years ago
Adafruit BME680 Library
Adafruit Unified Sensor
5 years ago
; ArduinoJSON
5 years ago
monitor_speed = 115200
5 years ago
5 years ago
extra_scripts =
pre:script/autoversioning.py
pre:lib/script/autoversioning.py