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
This commit is contained in:
Dejvino
2026-11-14 12:15:02 +01:00
parent 5571ec8399
commit b05d90bd12
6 changed files with 24 additions and 6 deletions
File diff suppressed because it is too large Load Diff
+6 -3
View File
@@ -3,13 +3,14 @@
; 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 lives at the project root (the emulator Makefile includes it from
; there), so scan the project root instead of a src/ folder
src_dir = .
; sketch + its headers live in ../../src/netdeck
src_dir = ../../src/netdeck
[env:T-Deck]
platform = espressif32@6.3.0
@@ -20,6 +21,8 @@ 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