This commit is contained in:
Nav
2024-02-12 19:24:56 +00:00
parent a39099d5dd
commit 039e083a09
2 changed files with 6 additions and 3 deletions

View File

@@ -205,5 +205,4 @@ add_custom_command(
) )
include(./cmake/Installing.cmake) include(./cmake/Installing.cmake)
include(./cmake/Packaging.cmake) include(./cmake/Packaging.cmake)

View File

@@ -118,8 +118,12 @@ class Avr8TargetDescriptionFile extends TargetDescriptionFile
$output->eepromPageSize = $eepromMemorySegment->pageSize; $output->eepromPageSize = $eepromMemorySegment->pageSize;
} }
$output->ocdRevision = $this->stringService->tryStringToInt($this->getPropertyValue('ocd', 'ocd_revision')); $output->ocdRevision = $this->stringService->tryStringToInt(
$output->ocdDataRegister = $this->stringService->tryStringToInt($this->getPropertyValue('ocd', 'ocd_datareg')); $this->getPropertyValue('ocd', 'ocd_revision')
);
$output->ocdDataRegister = $this->stringService->tryStringToInt(
$this->getPropertyValue('ocd', 'ocd_datareg')
);
$eepromPeripheral = $this->getTargetPeripheral('eeprom'); $eepromPeripheral = $this->getTargetPeripheral('eeprom');