Files
lilygo-t-deck/examples/NetDeck/platformio.ini
T
Dejvino b05d90bd12 NetDeck: move sketch to src/netdeck/ next to nd_layout.h
- src/netdeck/NetDeck.ino (git mv); the ../../src/netdeck include became
  a plain "nd_layout.h"
- examples/NetDeck/platformio.ini: src_dir = ../../src/netdeck, -I . for
  utilities.h (pio build green: RAM 8.6%, Flash 5.6%)
- emulator Makefile: NetDeck APP_DIR -> ../src/netdeck, extra -I for
  utilities.h; make APP=NetDeck + smoke verified green
- STATUS.md: notes the new source layout
2026-11-14 12:15:02 +01:00

33 lines
1.1 KiB
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.
; The sketch source itself lives in src/netdeck/ next to nd_layout.h;
; utilities.h (T-Deck pin map) is found via the -I project-root flag below.
[platformio]
default_envs = T-Deck
boards_dir = ../../boards
; sketch + its headers live in ../../src/netdeck
src_dir = ../../src/netdeck
[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
; utilities.h (T-Deck pin map) still lives in this project dir
-I .
-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