MCUdude / MegaCore

Arduino hardware package for ATmega64, ATmega128, ATmega165, ATmega169, ATmega325, ATmega329, ATmega640, ATmega645, ATmega649, ATmega1280, ATmega1281, ATmega2560, ATmega2561, ATmega3250, ATmega3290, ATmega6450, ATmega6490, AT90CAN32, AT90CAN64 and AT90CAN128
Other
374 stars 115 forks source link

Add missing folder name suffix in bootloader paths #213

Closed per1234 closed 3 months ago

per1234 commented 3 months ago

The paths of the non-autobaud bootloader binaries include an upload baud rate folder. These folder names have a _baud suffix.

Previously, the bootloader.file properties for these bootloaders only had the integer component in the path. This caused the "Burn Bootloader" operation to fail when configured to use a non-autobaud bootloader:

avrdude ioerror() OS error: file ~/Library/Arduino15/packages/MegaCore/hardware/avr/3.0.1/bootloaders/urboot/atmega2560/watchdog_1_s/external_oscillator/16000000_hz/115200/uart3_rxj0_txj1/led+b7/urboot_atmega2560_pr_ee_ce.hex is not readable: No such file or directory

Originally reported at https://forum.arduino.cc/t/troubleshooting-uart-selection-for-arduino-mega-using-megacore/1238268

MCUdude commented 3 months ago

Thanks for the PR!