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:
@@ -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;
|
||||
|
||||
@@ -14,9 +14,5 @@ namespace Exceptions
|
||||
+ Services::PathService::homeDomainName() + "/report-issue"
|
||||
)
|
||||
{}
|
||||
|
||||
explicit InternalFatalErrorException(const char* message)
|
||||
: InternalFatalErrorException(std::string(message))
|
||||
{}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user