mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
When doing a `make debug` on a board with riotboot bootloader, the original (non-offset) elf file gets selected. This causes all ROM addresses to be at the wrong offset, leading to strange debug behavior. Set `DEBUG_ELFFILE` to the .elf file that already accounts for the bootloader offset so the debugger gets the correct addresses.