From a0ef9051ba3fdcae98a4830e918119ed225b5482 Mon Sep 17 00:00:00 2001 From: Nav Date: Fri, 24 Dec 2021 14:33:34 +0000 Subject: [PATCH] Corrected end address in AVR8 memory descriptors --- src/Targets/Microchip/AVR/AVR8/Avr8.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp index 4c20f6ad..c097db1a 100644 --- a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp +++ b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp @@ -575,7 +575,7 @@ void Avr8::loadTargetMemoryDescriptors() { TargetMemoryType::RAM, TargetMemoryAddressRange( ramStartAddress, - ramStartAddress + this->targetParameters->ramSize.value() + ramStartAddress + this->targetParameters->ramSize.value() - 1 ) ) )); @@ -589,7 +589,7 @@ void Avr8::loadTargetMemoryDescriptors() { TargetMemoryType::EEPROM, TargetMemoryAddressRange( eepromStartAddress, - eepromStartAddress + this->targetParameters->eepromSize.value() + eepromStartAddress + this->targetParameters->eepromSize.value() - 1 ) ) ));