Made physical interface enum more generic (moved out of AVR8-specific context)
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "Pinout.hpp"
|
||||
|
||||
#include "src/Targets/TargetFamily.hpp"
|
||||
#include "src/Targets/TargetPhysicalInterface.hpp"
|
||||
|
||||
#include GENERATED_TDF_MAPPING_PATH
|
||||
|
||||
@@ -99,6 +100,8 @@ namespace Targets::TargetDescription
|
||||
) const;
|
||||
[[nodiscard]] const AddressSpace& getAddressSpace(std::string_view key) const;
|
||||
|
||||
[[nodiscard]] std::set<Targets::TargetPhysicalInterface> getPhysicalInterfaces() const;
|
||||
|
||||
protected:
|
||||
std::map<std::string, std::string> deviceAttributesByName;
|
||||
std::map<std::string, AddressSpace, std::less<void>> addressSpacesByKey;
|
||||
|
||||
Reference in New Issue
Block a user