It's time for me to write my first bootloader. I understand the process - write the bootloader code, relocate it into the bootloader section. However, it seems that for me to write one with WinAVR, I must relocate all my functions, variables, etc. via the BOOTLOADER_SECTION macro in
I'm trying to create a FLIP-compatible bootloader based on MyUSB, in less than the maximum 4KB of bootloader space. However, MyUSB isn't designed to be relocated into the bootloader section - the BOOTLOADER_SECTION macro isn't used on any of the library functions and variables.
Is it possible to relocate the entire binary to the new section easily? I'd rather write the application like a normal program, and use the makefile to relocate the binary into the bootloader space for the chosen AT90USBXXX model.
- Dean :twisted: