Repository navigation
Remove two compile-time switches that no build sets (-20) - #367
Closed
RyanTheTide wants to merge 1 commit into
Closed
RyanTheTide wants to merge 1 commit into
RyanTheTide wants to merge 1 commit into
Conversation
- ESP_BOOT_HOST (sptm_virt_esp.c, from 62f365b) swaps in "esp_boot_host.h" for a host test harness under tests/esp_boot_host. That harness was never committed on any branch, so the switch can only break the build. - AFK_TRACE (afk.c, dcp_iboot.c, from 841cbef) wraps four AFK and DCP iBoot message hexdumps. No Makefile option, CI job, doc, test or release build defines it. The images built without either switch are unchanged in behaviour. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Contributor
Author
|
Folded into #371 together with the other removals, one commit per set. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Two preprocessor switches are never defined by any build:
ESP_BOOT_HOSTinsrc/sptm_virt_esp.c(62f365b) swaps the includes foresp_boot_host.h, a host harness undertests/esp_boot_hostthat was never committed on any branch. Setting it can only break the build.AFK_TRACEinsrc/afk.candsrc/dcp_iboot.c(841cbef) wraps four message hexdumps. No Makefile option, CI job, doc, test, kit or release build defines it.Change
Remove both switches and the code under them. Net: -20 lines.
Testing
pytest tests/python: 746 passed, 2 failed, 27 skipped, the same as main (the 2 failures aretest_loadobjs.py, where the buildbox'snmlists two symbols that share an address in the other order).Still to run
No hardware row: the removed code was compiled out of every image.
Evidence
None of the open aura PRs references either switch. Logs:
traces/boot/20261120-deadweight-boot/on the lab S500.Assisted-by: LLM (Claude:Opus 5.5)