When trying to program fuses on a standalone Atmel device with an AVRispMkII Usb programmer by pio run --target fuses the programming fails. I get the unspecified upload_port error *** [fuses] could not open port -P usb: [Errno 2] No such file or directory: ‘-P usb’.
I did several testings like explained in the documentation. Here are some excerpts
When trying to program fuses on a standalone Atmel device with an AVRispMkII Usb programmer by
pio run --target fuses
the programming fails. I get the unspecified upload_port error*** [fuses] could not open port -P usb: [Errno 2] No such file or directory: ‘-P usb’
.I did several testings like explained in the documentation. Here are some excerpts
platformio.ini
fuses.py
It's nearly the same behaviour like trying to
upload
instead ofprogram
Currently I have to set up fuses externally with avrdude...
PS: initial discussion started in PlatformIO-community: https://community.platformio.org/t/avr-standalone-projects/3428