Skip to content

Conversation

mbacarella
Copy link

@mbacarella mbacarella commented Oct 11, 2025

  • What kind of change does this PR introduce?
    Validates configuration.
  • What is the current behavior?
    The server calls arduino-cli compile --fqbn even if fqbn is not known, which leads to more confusing errors.

Previously mentioned here #207. Also related to #215.

Fixes #207.

  • What is the new behavior?
    Abort earlier and explain what to do (call the server with -fqbn instead or set default_fqbn in sketch.yaml).

@CLAassistant
Copy link

CLAassistant commented Oct 11, 2025

CLA assistant check
All committers have signed the CLA.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Oct 11, 2025
@mbacarella mbacarella force-pushed the validate-fqbn-before-compile branch from 4b3f6c4 to c5efd3e Compare October 11, 2025 17:57
The server calls arduino-cli compile --fqbn even if fqbn is not known,
which leads to more confusing errors. Abort earlier and explain what
to do (call the server with -fqbn instead).
@mbacarella mbacarella force-pushed the validate-fqbn-before-compile branch from c5efd3e to 6a51e4e Compare October 11, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output error message if --fqbn parameter is missing

3 participants