New WchRiscV target class

This commit is contained in:
Nav
2024-10-12 23:16:16 +01:00
parent 5c896bb2ca
commit 52171734d8
11 changed files with 164 additions and 62 deletions

View File

@@ -19,7 +19,7 @@ namespace Targets::RiscV
class RiscV: public Target
{
public:
RiscV(const TargetConfig& targetConfig, TargetDescriptionFile&& targetDescriptionFile);
RiscV(const TargetConfig& targetConfig, const TargetDescriptionFile& targetDescriptionFile);
/*
* The functions below implement the Target interface for RISC-V targets.
@@ -36,8 +36,6 @@ namespace Targets::RiscV
void postActivate() override;
TargetDescriptor targetDescriptor() override;
void run(std::optional<TargetMemoryAddress> toAddress = std::nullopt) override;
void stop() override;
void step() override;