- render into a full-frame RAM second buffer (TFT_eSprite/PSRAM on device, SDL shim framebuffer in the emulator) and push to the ST7789 as one continuous SPI stream per frame (MiataDrive anti-tearing pattern) - keyboard stale-byte flush at boot end; device-trackball constants branch - examples/NetDeck/platformio.ini: self-contained firmware build (pio run -d examples/NetDeck), ESP32-S3 compile verified (RAM 6.7% / Flash 5.5%), binary at firmware/NetDeck_M1_261114.bin - STATUS.md: M1 tracker + on-device flashing checklist - IDEAS.md: capture map-scroll and companion-app ideas
30 lines
988 B
INI
30 lines
988 B
INI
; NetDeck — Breach & Board firmware (Milestone 1 hardware sandbox)
|
|
;
|
|
; The root platformio.ini's src_dir is global, so this sketch ships its own
|
|
; project config: build with pio run -d examples/NetDeck
|
|
; Board + shared library discovery point back at the repo root.
|
|
|
|
[platformio]
|
|
default_envs = T-Deck
|
|
boards_dir = ../../boards
|
|
; sketch lives at the project root (the emulator Makefile includes it from
|
|
; there), so scan the project root instead of a src/ folder
|
|
src_dir = .
|
|
|
|
[env:T-Deck]
|
|
platform = espressif32@6.3.0
|
|
board = T-Deck
|
|
framework = arduino
|
|
lib_extra_dirs = ../../lib
|
|
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
|
|
; Full-frame push needs headroom: 80 MHz halves the frame transfer vs the
|
|
; stock 40 MHz (same setting as the other full-frame sketches). If the
|
|
; panel shows artifacts, drop to 40000000.
|
|
-DSPI_FREQUENCY=80000000
|