1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-08-16 10:41:55 +03:00

Fix section-start addresses for attiny167 (.text and .version) and atiny48 (.version)

This commit is contained in:
WestfW
2021-10-28 23:15:51 -07:00
parent c377eb8dee
commit 68b7a55b1e

View File

@@ -750,7 +750,7 @@ attiny48: TARGET = attiny48
attiny48: MCU_TARGET = attiny48
attiny48: CFLAGS += $(COMMON_OPTIONS) '-DVIRTUAL_BOOT_PARTITION' '-DSOFT_UART'
attiny48: AVR_FREQ ?= 8000000L
attiny48: LDSECTIONS = -Wl,--section-start=.text=0x0D80 -Wl,--section-start=.version=0x1ffe
attiny48: LDSECTIONS = -Wl,--section-start=.text=0x0D80 -Wl,--section-start=.version=0x0ffe
attiny48: $(PROGRAM)_attiny48.hex
ifndef PRODUCTION
attiny48: $(PROGRAM)_attiny48.lst
@@ -1341,7 +1341,7 @@ attiny167: TARGET = attiny167
attiny167: MCU_TARGET = attiny167
attiny167: AVR_FREQ ?= 8000000L
attiny167: CFLAGS += $(COMMON_OPTIONS) '-DVIRTUAL_BOOT_PARTITION'
attiny167: LDSECTIONS = -Wl,--section-start=.text=0x1d80 -Wl,--section-start=.version=0x1ffe
attiny167: LDSECTIONS = -Wl,--section-start=.text=0x3d80 -Wl,--section-start=.version=0x3ffe
attiny167: $(PROGRAM)_attiny167.hex
ifndef PRODUCTION
attiny167: $(PROGRAM)_attiny167.lst