Moved loading of AVR8 TDFs into single function

This commit is contained in:
Nav
2022-08-04 21:03:43 +01:00
parent 0bc886be38
commit 40218e5c21
2 changed files with 3 additions and 13 deletions

View File

@@ -29,7 +29,6 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
explicit Avr8() = default;
Avr8(std::string name, const TargetSignature& signature): name(std::move(name)) {
this->id = signature;
this->loadTargetDescriptionFile();
this->initFromTargetDescriptionFile();
};
@@ -149,11 +148,6 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
std::optional<ProgrammingSession> programmingSession;
/**
* Resolves the appropriate TDF for the AVR8 target and populates this->targetDescriptionFile.
*/
void loadTargetDescriptionFile();
/**
* Initiates the AVR8 instance from data extracted from the TDF.
*/