diff --git a/examples/NetDeck/platformio.ini b/examples/NetDeck/platformio.ini deleted file mode 100644 index 08c10ce..0000000 --- a/examples/NetDeck/platformio.ini +++ /dev/null @@ -1,32 +0,0 @@ -; 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 diff --git a/platformio.ini b/platformio.ini index 1c2df34..143223e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -36,7 +36,8 @@ default_envs = T-Deck ;src_dir = examples/NoiseSensor ; src_dir = examples/MissileCommand ; src_dir = examples/NetDeck -src_dir = examples/MiataDrive +;src_dir = examples/MiataDrive +src_dir = src/netdeck ;! Don't make changes diff --git a/examples/NetDeck/utilities.h b/src/netdeck/utilities.h similarity index 100% rename from examples/NetDeck/utilities.h rename to src/netdeck/utilities.h