arduino-cli
arduino-cli copied to clipboard
Option to specify programmer USB Bus and Device numbers
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
-
CLI version (output of
arduino-cli version
): arduino-cli Version: 0.11.0 Commit: 0296f4d -
OS and platform: Linux malbec 4.4.0-184-generic #214-Ubuntu SMP Thu Jun 4 10:14:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Additional context
I have no idea how difficult this request would be to implement.
Thank you for your consideration.