platform-atmelavr icon indicating copy to clipboard operation
platform-atmelavr copied to clipboard

avrdude WARNING for deprecated setting of lock/unlock fuse.

Open Schallbert opened this issue 4 years ago • 0 comments

https://github.com/platformio/platform-atmelavr/blob/dec3edd5f16c79a62bcc91fed7d04618b04721fe/builder/bootloader.py#L81-L82

Refer to thread https://community.platformio.org/t/avrdude-warning-on-burn-bootloader-with-pio-standard-setting/19227

Solution: modify script this way, please.

lock_bits = board.get("bootloader.lock_bits", "0xCF")
unlock_bits = board.get("bootloader.unlock_bits", "0xEF")

Schallbert avatar Feb 10 '21 13:02 Schallbert