Skip to content

Companion board SD CS pin mismatch is only logged to console, not shown in UI #25

@tyeth

Description

@tyeth

Description: When a companion board is selected and its SD card CS pin does not match the expected value, the application only logs the mismatch to the browser console. There is no visible indication or warning in the UI for the user. This can lead to confusion, as users may not realize there is a configuration issue.

This was observed on the XIAO S3 sense addon board, due to the main XIAO board definition not including a user selectable SD CS pin. As the board can have two possible sd cs pins depending on addon board it makes sense to expose that pin for now

Steps to Reproduce:

Select a board and a companion board with an SD card.
Ensure the SD card CS pin from the companion board does not match the expected values for the main board.
Observe that no warning or error appears in the UI; only a console log warning is generated.
Expected Behavior: The UI should display a clear warning or error message when there is a mismatch in the SD card CS pin between the selected board and companion board, so users can take corrective action.

Actual Behavior: No UI feedback is provided; the issue is only logged to the console.

We should probably have a status log on the page or in panel warnings that fade naturally when selections change

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions