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
+10
View File
@@ -133,3 +133,13 @@ message). The litmus-test loop (crack HIVE, FRENZY the turret, dash the
squad through) completes in M4; until then the loss path + reset are the
verifiable branches. On-device check still pending (inherits the M1
checklist in §M1 above).
### Source layout (this commit)
The sketch moved from `examples/NetDeck/NetDeck.ino` to
`src/netdeck/NetDeck.ino`, next to `nd_layout.h` (the relative include
became a plain `#include "nd_layout.h"`). Build configs stay put:
`examples/NetDeck/platformio.ini` now sets `src_dir = ../../src/netdeck`
(plus `-I .` for `utilities.h`), and the emulator Makefile points NetDeck's
`APP_DIR` at `../src/netdeck`. `pio run -d examples/NetDeck` and
`make APP=NetDeck` are both verified green from the new location.
+1 -1
View File
@@ -5,7 +5,7 @@
* layout described in DESIGN.md §3 and the fixed-timestep
* engine loop from DESIGN.md §6.
*
* Header-only: included by the sketch (examples/NetDeck) from both the
* Header-only: included by the sketch (src/netdeck) from both the
* PlatformIO firmware build and the SDL2 emulator build.
*/
#pragma once