Skip to content

Option to specify programmer USB Bus and Device numbers  #770

Open
@dbhaig

Description

@dbhaig

Feature Request

Current behavior

First of all, kudos to the developers for adding the burn-bootloader command!

I'm using a USBasp programmer and it works great.

It would be very handy if I could use more than one USBasp programmer simultaneously.

auduino-cli does not appear to support specifying programmer USB Bus and Device addressing.

Expected behavior

Options to specify a programmer using the USB Bus and Device numbers, e.g.:

lsusb
...
Bus 001 Device 122: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb
Bus 003 Device 036: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb
...

arduino-cli burn-bootloader -b arduino:avr:leonardo -P usbasp:001:122 -t -v
arduino-cli burn-bootloader -b arduino:avr:leonardo -P usbasp:003:036 -t -v

Environment

Additional context

I have no idea how difficult this request would be to implement.

Thank you for your consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions