Cleaned up the target interface header, as well as some small bits of cleaning in other places

This commit is contained in:
Nav
2021-04-07 20:34:12 +01:00
parent 71f312f925
commit 8d6b09ec21
4 changed files with 276 additions and 37 deletions

View File

@@ -32,8 +32,8 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
Avr8Interface* avr8Interface;
std::string name = "";
std::optional<Family> family;
std::optional<PartDescriptionFile> partDescription = std::nullopt;
std::optional<TargetParameters> targetParameters = std::nullopt;
std::optional<PartDescriptionFile> partDescription;
std::optional<TargetParameters> targetParameters;
std::map<std::string, PadDescriptor> padDescriptorsByName;
std::map<int, TargetVariant> targetVariantsById;
@@ -123,10 +123,10 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
const TargetPinState& state
) override;
virtual bool willMemoryWriteAffectIoPorts(
virtual bool memoryAddressRangeClashesWithIoPortRegisters(
TargetMemoryType memoryType,
std::uint32_t startAddress,
std::uint32_t bytes
std::uint32_t endAddress
) override;
};
}