Skip to content

"arduino-cli upload" ignores port setting in "sketch.json" #1605

Closed
@ShyLionTjmn

Description

@ShyLionTjmn

i have sketch.json:

{ "cpu": { "fqbn": "arduino:avr:pro", "port": "/dev/ttyUSB0" } }

Still, every time i run "arduino-cli upload" i have to add "-p /dev/ttyUSB0" option.
Am i doing something wrong?

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions