1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/boot
Benjamin Valentin 1925c99436 makefiles/boot/riotboot: set DEBUG_ELFFILE to slot0.elf
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.
2022-05-31 12:30:49 +02:00
..
riotboot.mk makefiles/boot/riotboot: set DEBUG_ELFFILE to slot0.elf 2022-05-31 12:30:49 +02:00