Massive refactor to accommodate RISC-V targets
- Refactored entire codebase (excluding the Insight component) to accommodate multiple target architectures (no longer specific to AVR) - Deleted 'generate SVD' GDB monitor command - I will eventually move this functionality to the Bloom website - Added unit size property to address spaces - Many other changes which I couldn't be bothered to describe here
This commit is contained in:
@@ -60,9 +60,9 @@ namespace Targets::TargetDescription
|
||||
const BitField& getBitField(std::string_view key) const {
|
||||
const auto bitField = this->tryGetBitField(key);
|
||||
if (!bitField.has_value()) {
|
||||
throw Exceptions::InvalidTargetDescriptionDataException(
|
||||
"Failed to get bit field \"" + std::string(key) + "\" from register in TDF - bit field not found"
|
||||
);
|
||||
throw Exceptions::InvalidTargetDescriptionDataException{
|
||||
"Failed to get bit field \"" + std::string{key} + "\" from register in TDF - bit field not found"
|
||||
};
|
||||
}
|
||||
|
||||
return bitField->get();
|
||||
|
||||
Reference in New Issue
Block a user