Filaman/platformio.ini

98 lines
2.9 KiB
INI
Raw Normal View History

; 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
[common]
version = "1.2.91"
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
tzapu/WiFiManager @ ^2.0.17
https://github.com/me-no-dev/ESPAsyncWebServer.git#master
me-no-dev/AsyncTCP @ ^1.1.1
bogde/HX711 @ ^0.7.5
adafruit/Adafruit SSD1306 @ ^2.5.13
adafruit/Adafruit GFX Library @ ^1.11.11
adafruit/Adafruit PN532 @ ^1.3.3
bblanchon/ArduinoJson @ ^7.3.0
knolleary/PubSubClient @ ^2.8
digitaldragon/SSLClient @ ^1.3.2
; Enable SPIFFS upload
board_build.filesystem = spiffs
; Update partition settings
board_build.partitions = partitions.csv
board_upload.flash_size = 4MB
board_build.flash_mode = dio
board_upload.flash_freq = "40m"
build_flags =
-Os
-ffunction-sections
-fdata-sections
-DNDEBUG
-mtext-section-literals
'-D VERSION="${common.version}"'
-DASYNCWEBSERVER_REGEX
-DCORE_DEBUG_LEVEL=3
-DCONFIG_ARDUHAL_LOG_COLORS=1
-DOTA_DEBUG=1
-DARDUINO_RUNNING_CORE=1
-DARDUINO_EVENT_RUNNING_CORE=1
-DCONFIG_ESP32_PANIC_PRINT_REBOOT
-DCONFIG_ARDUINO_OTA_READSIZE=8192
-DCONFIG_ASYNC_TCP_RUNNING_CORE=1
-DCONFIG_ASYNC_TCP_USE_WDT=0
-DASYNC_TCP_USE_WDT=0
-DCONFIG_LWIP_TCP_TMR_INTERVAL=25
-DCONFIG_LWIP_TCP_MSS=1436
-DCONFIG_LWIP_TCP_SND_BUF_DEFAULT=5744
-DCONFIG_LWIP_TCP_WND_DEFAULT=5744
-DCONFIG_LWIP_TCP_RCV_BUF_DEFAULT=11488
-DCONFIG_LWIP_TCP_RECVMBOX_SIZE=64
-DCONFIG_LWIP_MAX_SOCKETS=10
-DCONFIG_LWIP_MAX_ACTIVE_TCP=16
-DCONFIG_LWIP_MAX_LISTENING_TCP=16
-DCONFIG_LWIP_TCP_MAXRTX=6
-DCONFIG_LWIP_TCP_SYNMAXRTX=3
-DCONFIG_LWIP_TCP_QUEUE_OOSEQ=0
-DCONFIG_LWIP_TCP_OVERSIZE_MSS=0
-DCONFIG_LWIP_TCP_RTO_TIME=1500
-DCONFIG_LWIP_IPV6=0
-DCONFIG_LWIP_STATS=0
-DCONFIG_LWIP_USE_ONLY_LWIP_SELECT=1
-DCONFIG_LWIP_NETIF_LOOPBACK=0
-DCONFIG_LWIP_IRAM_OPTIMIZATION=1
-DCONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
-DCONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
-DCONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
-DCONFIG_ESP32_WIFI_TX_BA_WIN=6
-DCONFIG_ESP32_WIFI_RX_BA_WIN=6
-DCONFIG_ESP32_WIFI_CSI_ENABLED=0
extra_scripts =
scripts/extra_script.py
pre:scripts/pre_build.py ; wird zuerst ausgeführt
pre:scripts/pre_spiffs.py ; wird als zweites ausgeführt
pre:scripts/combine_html.py ; wird als drittes ausgeführt
scripts/gzip_files.py
; Remove or comment out the targets line
;targets = buildfs, build
; Add a custom target to build both
[platformio]
default_envs = esp32dev