mirror of
https://github.com/Optiboot/optiboot.git
synced 2025-08-17 21:41:03 +03:00
Fix section-start addresses for attiny167 (.text and .version) and atiny48 (.version)
This commit is contained in:
@@ -750,7 +750,7 @@ attiny48: TARGET = attiny48
|
|||||||
attiny48: MCU_TARGET = attiny48
|
attiny48: MCU_TARGET = attiny48
|
||||||
attiny48: CFLAGS += $(COMMON_OPTIONS) '-DVIRTUAL_BOOT_PARTITION' '-DSOFT_UART'
|
attiny48: CFLAGS += $(COMMON_OPTIONS) '-DVIRTUAL_BOOT_PARTITION' '-DSOFT_UART'
|
||||||
attiny48: AVR_FREQ ?= 8000000L
|
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
|
attiny48: $(PROGRAM)_attiny48.hex
|
||||||
ifndef PRODUCTION
|
ifndef PRODUCTION
|
||||||
attiny48: $(PROGRAM)_attiny48.lst
|
attiny48: $(PROGRAM)_attiny48.lst
|
||||||
@@ -1341,7 +1341,7 @@ attiny167: TARGET = attiny167
|
|||||||
attiny167: MCU_TARGET = attiny167
|
attiny167: MCU_TARGET = attiny167
|
||||||
attiny167: AVR_FREQ ?= 8000000L
|
attiny167: AVR_FREQ ?= 8000000L
|
||||||
attiny167: CFLAGS += $(COMMON_OPTIONS) '-DVIRTUAL_BOOT_PARTITION'
|
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
|
attiny167: $(PROGRAM)_attiny167.hex
|
||||||
ifndef PRODUCTION
|
ifndef PRODUCTION
|
||||||
attiny167: $(PROGRAM)_attiny167.lst
|
attiny167: $(PROGRAM)_attiny167.lst
|
||||||
|
Reference in New Issue
Block a user