Skip to content

Preserve emulator/simulator metadata in BoardConfig for runtime runner selection #22

Closed

Description

@zackees

Goal

Preserve simulator/emulator/debug-tool metadata from imported board definitions so runtime code can choose an emulator runner without hard-coded board-family logic.

Why

The board JSON corpus already contains hints such as simavr, qemu, and renode, but that metadata is not preserved in BoardConfig. As a result, the runtime cannot select an emulator even when the source data already knows one exists.

Scope

  • audit imported board JSON fields related to simulators/debug tools
  • define a stable BoardConfig representation for emulator capability metadata
  • preserve these fields during board import/loading instead of dropping them
  • expose enough metadata for runner selection, host compatibility checks, and artifact requirements
  • keep this separate from hardware deploy configuration

Acceptance criteria

  • BoardConfig exposes simulator/debug-tool metadata needed for runtime selection
  • existing board import paths preserve simavr, qemu, renode, and similar hints where present
  • unsupported/missing metadata fails explicitly instead of silently falling back
  • at least one test covers round-tripping board metadata into runtime config

Likely files

  • crates/fbuild-config/src/board.rs
  • imported board metadata loaders/parsers
  • related config tests

Parent: #21

Activity

  1. added
    enhancement
    area: emulation
    priority: p0
    on Apr 10, 2026
  2. zackees commented on Apr 10, 2026

    @zackees
    MemberAuthor

    Priority note: this is P0 because it is one of the two foundation blockers for the emulator stack.

    Dependencies and downstream consumers:

  3. zackees commented on Apr 11, 2026

    @zackees
    MemberAuthor

    Completed in PR #28. BoardConfig now preserves simulator/debug-tool metadata for runtime runner selection.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: emulationenhancementpriority: p0

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions