zevero / avr_boot

Arduino Bootloader to Flash from SD Card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Which File To Take When Exporting Compiled Binary?

mwrouse opened this issue · comments

Hello, first off, love the project.

I have a custom wrapper around avr dude for flashing all my projects, which I use to flash bootloaders and programs.

I needed to compile a version of this since I use a different pin for sd card, so I do that and then flash the bootloader.

When I am making updates to the program, I use export compiled binary and then the avr-objcopy.

However, the export compiled binary gives two files using your board manager, one labeled with bootloader which is larger.

Which file am I meant to take, or does it not matter?

I am fairly certain it's the non-bootloader one, but would taking the bootloader one overwrite the bootloader? Also pretty sure the answer is yes.