#pragma once

#include <cstdint>

#include "src/DebugToolDrivers/Wch/Protocols/WchLink/Commands/Command.hpp"

namespace DebugToolDrivers::Wch::Protocols::WchLink::Commands
{
    class EraseProgramMemory: public Command<std::array<unsigned char, 1>>
    {
    public:
        EraseProgramMemory()
            : Command(0x02)
        {
            this->payload = {
                0x01
            };
        }
    };
}
