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:
File diff suppressed because it is too large
Load Diff
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user