Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-mv/blob/main/docs/external/nightdriver/565/BUILD.md # interplane-mv INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-mv / docs / external / nightdriver / 565 / BUILD.md` 51 lines ยท 3635 bytes Raw Blame History Rendered 1 # NightDriverStrip #565 fix: ESP32 compile check 2 3 Revisions: upstream main ``4d79c290`` (baseline) and fork branch `fix/565-buffer-budget-8bit` (``8e3d3515``, one commit on top of ``4d79c290``). 4 Scope: compile and link only. Nothing was flashed or run on a device. No upstream action was taken. 5 6 ## Upstream CI 7 `.github/workflows/CI.yml` runs `pio run -e ` for every env from `tools/show_envs.py` minus `config/ci_exclude.json`. At ``4d79c290`` the exclude list is `[]`, so CI builds all environments (about 60), including `m5demo` and `mesmerizer`. It runs on push, pull_request and workflow_dispatch, and installs the latest PlatformIO. 8 9 ## Fork CI 10 Actions permissions on aien-dev/NightDriverStrip: `{"enabled":true,"allowed_actions":"all"}`. 11 `gh run list -R aien-dev/NightDriverStrip --branch fix/565-buffer-budget-8bit` returned no runs, and `gh run list -R aien-dev/NightDriverStrip -L 3` also returned none. The workflow has not run on the fork. The cause was not investigated. 12 13 ## Toolchain (linux-aarch64, host `uname -m` = aarch64) 14 - PlatformIO Core 6.2.0, in an isolated venv at `~/.local/share/pio-venv` (not inside any repo) 15 - Platform espressif32 55.3.37 (pioarduino), framework-arduinoespressif32 3.3.7 16 - toolchain-xtensa-esp-elf 14.2.0+`20251107` (`xtensa-esp-elf-gcc` esp-14.2.0_`20251107`). It installed and ran natively on aarch64, so no toolchain was unavailable. 17 18 ## Finding: upstream main does not build with a fresh library resolve 19 `lib_deps` has `fastled/FastLED @ ^3.10.1`. A fresh resolve picked FastLED 3.10.5, and both `m5demo` and `mesmerizer` failed on unmodified upstream main (and on the fix branch) at the same line: 20 21 include/hashing.h:44:8: error: using typedef-name 'using CRGB = struct fl::CRGB' after 'struct' 22 *** [.pio/build/m5demo/src/debug_cli.cpp.o] Error 1 23 24 This is independent of the fix. Only 3.10.5 (failing) and 3.10.1 (passing) were tried. To get a baseline, a local, uncommitted edit pinned `fastled/FastLED @ 3.10.1` in `platformio.ini` in both worktrees. That edit is not part of the fix branch. 25 26 ## Commands 27 python3 -m venv ~/.local/share/pio-venv && ~/.local/share/pio-venv/bin/pip install platformio 28 git worktree add --detach ../nd565-main `4d79c290` # baseline; fix branch in ../nd565-fix 29 # in each worktree: 30 grep -v "^#define cszSSID" include/secrets.example.h > include/secrets.h 31 echo '#define cszSSID ""' >> include/secrets.h # same as CI 32 sed -i 's|FastLED @ ^3.10.1|FastLED @ 3.10.1|' platformio.ini # local pin, not committed 33 nice -n 19 pio run -j4 -e m5demo 34 nice -n 19 pio run -j4 -e mesmerizer 35 36 ## Results (FastLED 3.10.1) 37 | env | board class | main `4d79c290` | fix `8e3d3515` | 38 |---|---|---|---| 39 | m5demo | classic ESP32, no PSRAM (changed `#else` branch is compiled) | SUCCESS | SUCCESS | 40 | mesmerizer | ESP-WROVER, `USE_PSRAM=1` via `psram_lx6_flags` (changed branch is preprocessed out) | SUCCESS | SUCCESS | 41 42 Size (`xtensa-esp32-elf-size` text/data/bss, and firmware.bin bytes): 43 | env | main | fix | delta | 44 |---|---|---|---| 45 | m5demo | `1572464` / 644260 / 37105; bin `2193552`; RAM 64680 B, Flash `2193143` B | identical | 0 | 46 | mesmerizer | `1766432` / 891121 / 53980; bin `2634384`; RAM 80596 B, Flash `2633972` B | identical | 0 | 47 48 For `m5demo`, `systemcontainer.cpp.o` and `firmware.bin` differ by hash between the two revisions (the code did change) while section sizes are equal. Both revisions compile without errors. No warnings were reviewed beyond the build exit code. 49 50 ## Not covered 51 Other envs (CI builds about 60), S3/octal-PSRAM envs, any runtime behaviour. No code change to the fix was needed.