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.
48 lines
1.5 KiB
48 lines
1.5 KiB
;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
|
|
framework = arduino
|
|
board = lolin_d32_pro
|
|
|
|
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}\""
|
|
-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 Unified Sensor
|
|
; 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
|
|
|