2024-11-16 20:05:26 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
2025-01-07 23:31:48 +00:00
|
|
|
#include "src/DebugToolDrivers/Wch/Protocols/WchLink/Commands/Command.hpp"
|
2024-11-16 20:05:26 +00:00
|
|
|
|
|
|
|
|
namespace DebugToolDrivers::Wch::Protocols::WchLink::Commands
|
|
|
|
|
{
|
|
|
|
|
class EndRamCodeWrite: public Command<std::array<unsigned char, 1>>
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
EndRamCodeWrite()
|
|
|
|
|
: Command(0x02)
|
|
|
|
|
{
|
|
|
|
|
this->payload = {
|
|
|
|
|
0x07
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|