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.
33 lines
914 B
33 lines
914 B
;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
|
|
framework = arduino
|
|
board = lolin_d32_pro
|
|
|
|
build_flags =
|
|
-DLOG_DEFAULT_LEVEL=ESP_LOG_DEBUG
|
|
# -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG
|
|
-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}\""
|
|
|
|
;lib_deps =
|
|
; ArduinoJSON
|
|
|
|
monitor_speed = 115200
|
|
|
|
extra_scripts =
|
|
pre:script/autoversioning.py
|
|
pre:lib/script/autoversioning.py
|
|
|