Skip to content

Fixed errors/warnings when using latest toolchains + Additional fixes#2

Open
pmmgma wants to merge 6 commits intodcnewman:masterfrom
pmmgma:master
Open

Fixed errors/warnings when using latest toolchains + Additional fixes#2
pmmgma wants to merge 6 commits intodcnewman:masterfrom
pmmgma:master

Conversation

@pmmgma
Copy link

@pmmgma pmmgma commented Feb 23, 2025

  • Fixed errors/warnings when using latest toolchains
  • Fixed the flash page erasing/programming misalignment happening if the programming was not starting at address 0x0 or skipping programming pages
  • Moved the flash page programming into a self contained function (bootloader_program_page) that can be used from Application Space by its address.
  • Added trampoline in the end of the flash to allow access to bootloader functions at fixed address

- Added support to specify BAUDRATE for AVRDUDE
- Added option to specify AVR-GCC and AVRDUDE Locations
- Fixed ELFSIZE calculation
- Fixed APP_END calculation
- Fixed handling of far/near pointers on debug strings
- Moved the flash page programming into a self contained function (bootloader_program_page) that can be used from Application Space by its address.
- Fixed the flash page erasing/programming misalignment happening if the programming was not starting at address 0x0 or skipping programming pages
- Fixed Pointer to Int conversion for EEPROM on DumpHex
…oader functions in fixed addresses

    - Trampoline for additional functions to be added inside bootloader_trampoline naked function
- Adjusted the way the BAUDRATE is specified
…rt of the bytes filing the rest of the page with the old data
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.

1 participant