; PlatformIO project for running the template demo on the real T-Deck ; (ESP32-S3 + ST7789) as a free-running benchmark. ; ; Standalone on purpose (the repo's top-level platformio.ini keeps ; src_dir = src/netdeck for NetDeck): this points back at the shared ; boards/ and lib/ directories. ; ; pio run -d emulator-template/fw -t upload # flash the T-Deck ; pio device monitor # fps report every 2 s ; ; The loop free-runs (no pacing); the serial report's render/push split ; is the true throughput of the sketch core + SPI push on the hardware. [platformio] default_envs = DemoHW src_dir = . boards_dir = ../../boards lib_dir = ../../lib [env:DemoHW] platform = espressif32@6.3.0 board = T-Deck framework = arduino upload_speed = 921600 monitor_speed = 115200 build_flags = -DBOARD_HAS_PSRAM=1 -DCORE_DEBUG_LEVEL=1 -DARDUINO_USB_CDC_ON_BOOT=1 -DDISABLE_ALL_LIBRARY_WARNINGS -DSPI_FREQUENCY=80000000 ; -O2: PlatformIO's default -Os optimizes for size and can cost a ; large fraction of frame time — benchmarks deserve the honest number. -O2 -I../examples/Demo ; T-Deck pin map (BOARD_POWERON, TFT pins...) from the firmware tree -I../../src/netdeck