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:
@@ -22,10 +22,14 @@ namespace Services
|
||||
static std::string toHex(const std::vector<unsigned char>& data);
|
||||
static std::string toHex(const std::string& data);
|
||||
|
||||
static std::uint64_t toUint64(const std::string& str);
|
||||
static std::uint32_t toUint32(const std::string& str);
|
||||
static std::uint16_t toUint16(const std::string& str);
|
||||
static std::uint8_t toUint8(const std::string& str);
|
||||
static std::vector<unsigned char> dataFromHex(const std::string& hexData);
|
||||
|
||||
static std::uint64_t toUint64(const std::string& str, int base = 0);
|
||||
static std::uint32_t toUint32(const std::string& str, int base = 0);
|
||||
static std::uint16_t toUint16(const std::string& str, int base = 0);
|
||||
static std::uint8_t toUint8(const std::string& str, int base = 0);
|
||||
|
||||
static std::size_t hash(const std::string& str);
|
||||
|
||||
static std::vector<std::string_view> split(std::string_view str, char delimiter);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user