Skip to content

Board capability rows fingerprint the emulator the board runs under - #782

Open
A13xB0 wants to merge 1 commit into
mainfrom
fix-551-emulator-fingerprint
Open

A13xB0 wants to merge 1 commit into
mainfrom
fix-551-emulator-fingerprint

Conversation

@A13xB0

@A13xB0 A13xB0 commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Closes #551.

EmulatorFingerprint now takes the board, so it picks the emulator the same way a boot does: Renode for a board with a Renode profile, QEMU otherwise. It finds each binary with the same lookup a boot uses (emulated.FindTool), not just the env var.

The fingerprint also covers:

  • the chip library, because a chip change moves what a board demonstrates (the DIO1 mask fix);
  • for Renode, our C# peripherals in the support dir.

Each part is path, size and mtime. Rows cached by an earlier build read as stale once, since the format changed.

Test: on a machine with both emulators set, an nRF52 row carries Renode and not QEMU (and the other way round), and each part retires only the rows it should.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A board's emulator fingerprint names QEMU even when Renode measured it

1 participant