; 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 [platformio] src_dir = RX_FSK data_dir = RX_FSK/data [extra] lib_deps_builtin = ; src lib_deps_external = olikraus/U8g2 @ ^2.35.8 stevemarple/MicroNMEA @ ^2.0.5 https://github.com/me-no-dev/ESPAsyncWebServer/archive/refs/heads/master.zip https://github.com/moononournation/Arduino_GFX#v1.2.9 https://github.com/dx168b/async-mqtt-client [env:ttgo-lora32] # Issues with 6.4.0 (TCP corruption) and 6.5.0 (no DHCP response from AP) need to be investigated before upgrading further. #platform = https://github.com/platformio/platform-espressif32.git#v6.3.0 # for now, stick to 3.3.2 for compatibility with travis Arduino builds (partition table, maybe watchdog issue?) platform = https://github.com/platformio/platform-espressif32.git#v3.3.2 board = ttgo-lora32-v1 framework = arduino monitor_speed = 115200 monitor_filters = esp32_exception_decoder lib_deps = ${extra.lib_deps_builtin} ${extra.lib_deps_external} paulstoffregen/Time@^1.6.0 lib_ignore = Time ; Same as with ArduinoIDE. Saves around 27k code build_flags = -DCORE_DEBUG_LEVEL=0 ; Add / remove the following two lines for separate fonts partition in flash ; after changes: ; - pio run --target=upload (uploads partition table) ; - pio run --target=uploadfs (uploads file system matching the new partition table) ; if enable also do: ; - pio run --target=uploadfonts (uploads fonts.bin created during the first pio run) ; Then everything should be "back to normal" ; extra_scripts = post:scripts/makefontpartition.py ;board_build.partitions = partition-fonts.csv ; Uncomment the following if you want to have the partition scheme used in the ESP32 board version 2.0.x of ArduinoIDE ; board_build.partitions = partitions-esp32v2.csv