Adds a "Logbook / WebUI" entry directly in Menu > System, showing the device's IP and usage instructions (previously only reachable via a hidden "?" button in Logbook Files). The web export page now supports downloading and deleting individual daily logbook CSV files, in addition to the existing merged CSV download. Fixes a task watchdog reset that could reboot the device mid-download when exporting the logbook via the built-in web server: the CSV send loop never yielded the CPU, starving the idle task on larger logbooks. The export loop now yields periodically (delay(1) every 10 lines and after each file). Removes the screenshot feature (camera button, on-device BMP storage, web-based screenshot browser). Screenshots always came out solid black - diagnosis showed the SPI readback from the display returns all zeros regardless of SPI_READ_FREQUENCY, indicating TFT_MISO isn't wired to the display on this CYD board revision. This is a hardware limitation, not fixable in software, so the feature has been removed rather than shipped broken. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
31 lines
698 B
INI
31 lines
698 B
INI
[env:esp32dev]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
upload_speed = 921600
|
|
|
|
lib_deps =
|
|
bodmer/TFT_eSPI @ ^2.5.43
|
|
https://github.com/PaulStoffregen/XPT2046_Touchscreen.git
|
|
bblanchon/ArduinoJson @ ^7.0.4
|
|
mikalhart/TinyGPSPlus @ ^1.1.0
|
|
|
|
build_flags =
|
|
-D USER_SETUP_LOADED=1
|
|
-D ILI9341_2_DRIVER=1
|
|
-D TFT_WIDTH=240
|
|
-D TFT_HEIGHT=320
|
|
-D TFT_MISO=12
|
|
-D TFT_MOSI=13
|
|
-D TFT_SCLK=14
|
|
-D TFT_CS=15
|
|
-D TFT_DC=2
|
|
-D TFT_RST=-1
|
|
-D TFT_BL=21
|
|
-D TFT_BACKLIGHT_ON=HIGH
|
|
-D SPI_FREQUENCY=55000000
|
|
-D SPI_READ_FREQUENCY=1000000
|
|
-D SPI_TOUCH_FREQUENCY=2500000
|
|
-D LOAD_GFXFF=1
|
|
-D SMOOTH_FONT=1 |