Skip to content

arduino-cli upload fail #209

Closed
Closed
@usijeff

Description

@usijeff

Hi all,
after i use arduino-cli compile

[root@localhost Arduino]# arduino-cli compile --fqbn arduino:avr:uno /root/Arduino/LED_ON/
Alternatives for Wire.h: [[email protected]]
Alternatives for Wire.h: [[email protected]]
ResolveLibrary(Wire.h)
  -> candidates: [[email protected]]
Sketch uses 3766 bytes (11%) of program storage space. Maximum is 32256 bytes.
Global variables use 412 bytes (20%) of dynamic memory, leaving 1636 bytes for local variables. Maximum is 2048 bytes.

looks compile success, and upload

[root@localhost Arduino]# arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:avr:uno root/Arduino/LED_ON
Compiled sketch not found: root/Arduino/LED_ON/LED_ON.arduino.avr.uno.hex. Please compile first.

it say no .hex, but .hex is exist

[root@localhost LED_ON]# ls
LED_ON.arduino.avr.uno.elf  LED_ON.arduino.avr.uno.hex  LED_ON.ino

where is the problem?
Thanks all!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions