From aed7c07a6a36517e45619284000294c8276b9dee Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Thu, 13 Jun 2024 21:30:57 +0100 Subject: [PATCH] Extend elf format for bootrow --- src/fileio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fileio.c b/src/fileio.c index 08d624c1..cca2e43e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -794,6 +794,10 @@ static int elf_mem_limits(const AVRMEM *mem, const AVRPART *p, *lowbound = 0x850000; *highbound = 0x85ffff; *fileoff = 0; + } else if (mem_is_bootrow(mem)) { + *lowbound = 0x860000; + *highbound = 0x86ffff; + *fileoff = 0; } else { rv = -1; }