Added target family attribute to AVR8 TDFs and renamed AVR family attribute to avr-family

This commit is contained in:
Nav
2023-12-13 00:50:10 +00:00
parent 5dd4af6705
commit b5587d1e3c
266 changed files with 303 additions and 284 deletions

View File

@@ -12,6 +12,8 @@
#include "Pinout.hpp"
#include "Interface.hpp"
#include "src/Targets/TargetFamily.hpp"
#include GENERATED_TDF_MAPPING_PATH
namespace Targets::TargetDescription
@@ -74,11 +76,11 @@ namespace Targets::TargetDescription
[[nodiscard]] const std::string& getTargetName() const;
/**
* Returns the target family name extracted from the TDF.
* Returns the target family extracted from the TDF.
*
* @return
*/
[[nodiscard]] const std::string& getFamilyName() const;
[[nodiscard]] TargetFamily getFamily() const;
protected:
std::string targetName;