Repository navigation
SDK/MCP: handle the gateware v65 emulation image split - #151
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…masters has_bus_masters() and _ensure_bus_masters(): SWD/JTAG flash, SPI, I2C, expansion and capture_la(send) switch to the loop image when no sensor runs, raise BP0059 when one does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion image Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…v65) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # packages/embeddedci/CHANGELOG.md
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.
Firmware: embeddedci-com/benchpod-firmware#257 (gateware v65 splits the emulation image: no SWD, JTAG, SPI master or I2C master there while I2C/SPI/UART sensors run; the pod swaps to the loop image itself when none run).
BenchPod._ensure_bus_masters(feature)before SWD/JTAGflash(),open_spi/spi_flash,open_i2c,expansion()andcapture_la(send=i2c|spi): on the emulation image of gateware 65+ it raises the BP0059UnsupportedFeatureErrornaming the running sensors, else switches to LOOP (~3 s, logged).BenchPod.has_bus_masters().benchpod_capability("spi_master" | "i2c_master")switches from emulation to loop, and skips while sensors run.test_e2e_spi.pyfixture stops sensors and selects LOOP first.bus_masters_image).Tests: unit 1533 passed / 35 skipped, MCP and scripts 270 passed / 15 skipped.
test_bundled_copy_matches_the_firmwarecompares against the sibling firmware checkout and passes once the firmware PR merges.Hardware (benchpod-30a9f1, v65 dev fw): SDK e2e 161/70, MCP e2e 9/5, openhtf 2/1 (same as v64). SDK
flash()from emu swaps then flashes;flash()andopen_i2c()with a sensor running raise BP0059.🤖 Generated with Claude Code