Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing folder name suffix in bootloader paths #213

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Add missing folder name suffix in bootloader paths #213

merged 1 commit into from
Mar 22, 2024

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Mar 22, 2024

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

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
@MCUdude
Copy link
Owner

MCUdude commented Mar 22, 2024

Thanks for the PR!

@MCUdude MCUdude merged commit 89af2ff into MCUdude:master Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants