Flash programming support for WCH-LinkE tool
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "src/DebugToolDrivers/WCH/Protocols/WchLink/Commands/Command.hpp"
|
||||
|
||||
namespace DebugToolDrivers::Wch::Protocols::WchLink::Commands
|
||||
{
|
||||
class EndRamCodeWrite: public Command<std::array<unsigned char, 1>>
|
||||
{
|
||||
public:
|
||||
EndRamCodeWrite()
|
||||
: Command(0x02)
|
||||
{
|
||||
this->payload = {
|
||||
0x07
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user