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:
Nav
2024-07-23 21:14:22 +01:00
parent 2986934485
commit 6cdbfbe950
331 changed files with 8815 additions and 8565 deletions

View File

@@ -18,7 +18,7 @@ namespace Exceptions
explicit Exception(const char* message)
: std::runtime_error(message)
, message(std::string(message))
, message(std::string{message})
{}
virtual ~Exception() = default;

View File

@@ -14,9 +14,5 @@ namespace Exceptions
+ Services::PathService::homeDomainName() + "/report-issue"
)
{}
explicit InternalFatalErrorException(const char* message)
: InternalFatalErrorException(std::string(message))
{}
};
}

View File

@@ -7,12 +7,8 @@ namespace Exceptions
class InvalidConfig: public Exception
{
public:
explicit InvalidConfig(const std::string& message): Exception(message) {
this->message = message;
}
explicit InvalidConfig(const char* message): Exception(message) {
this->message = std::string(message);
}
explicit InvalidConfig(const std::string& message)
: Exception(message)
{}
};
}

View File

@@ -7,12 +7,8 @@ namespace Exceptions
class TargetControllerStartupFailure: public Exception
{
public:
explicit TargetControllerStartupFailure(const std::string& message): Exception(message) {
this->message = message;
}
explicit TargetControllerStartupFailure(const char* message): Exception(message) {
this->message = std::string(message);
}
explicit TargetControllerStartupFailure(const std::string& message)
: Exception(message)
{}
};
}