football2801 6a924963e5 fix(build): move data_dir to [platformio] section so uploadfs sees the panel files
PlatformIO silently ignores data_dir inside [env:…] blocks (it warned
"Ignore unknown configuration option `data_dir`" on every run, but we
read past it). Without a recognized data_dir, uploadfs packed the entire
project data/ root into LittleFS, putting every file under
/waveshare73-v1/<file> instead of /<file>. The firmware looks at /, so
draw_from_lfs fell back to its solid-yellow epd_fill — a blank yellow
panel after a fresh uploadfs.

Moving the directive to the project-level [platformio] section makes
PlatformIO honor it. All envs currently target the V1 panel so a single
project-level data_dir is fine; when a second panel ships, swap via an
extra_scripts shim that picks the dir from \$PIOENV before uploadfs runs.
2026-05-08 23:48:20 -04:00
2026-05-06 13:30:08 -04:00
S
Description
pictureFrame ESP32 firmware — PlatformIO / Arduino
6.1 MiB
2026-05-15 17:57:19 +00:00
Languages
C++ 61.1%
Python 31.4%
C 7.5%