Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Arduino IDE is being passed a bad option at build time #1590

@ss32

Description

@ss32

EDIT: See the reply below. This is a versioning issue and the extension expects IDE <= 1.18

A bad (non-existing) argument is being passed to the arduino binary when trying to compile. I cannot find a single reference to this failure anywhere else online.

Arduino IDE 2.0.4-nightly-20230205

The code builds in the Arduino IDE.

/tmp/.mount_arduin87Xwqz/arduino-ide: bad option: --board
[Warning] Failed to generate IntelliSense configuration.
[Error] Analyzing sketch 'OLED_LoRa_Receive/OLED_LoRa_Receive.ino': Exit with code=9

The only reference I can find is on arduino.ts:538, which is the this.useArduinoCli() block, and I'm not using the CLI per my settings; VS Code should be using the IDE.

image

The arduino binary that gets called is arduino-ide_nightly-20230205_Linux_64bit.AppImage

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