platform-atmelavr
platform-atmelavr copied to clipboard
avrdude WARNING for deprecated setting of lock/unlock fuse.
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")