Files
BloomPatched/src/DebugToolDrivers/Microchip/XplainedPro/XplainedPro.hpp

34 lines
797 B
C++
Raw Normal View History

2021-11-22 23:05:46 +00:00
#pragma once
#include <cstdint>
#include <string>
2021-11-22 23:05:46 +00:00
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
2021-11-22 23:05:46 +00:00
namespace DebugToolDrivers
2021-11-22 23:05:46 +00:00
{
/**
* The Xplained Pro is an evaluation board featuring an on-board debugger. The debugger is EDBG-based.
*
* USB:
2021-11-22 23:05:46 +00:00
* Vendor ID: 0x03eb (1003)
* Product ID: 0x2111 (8465)
*/
class XplainedPro: public EdbgDevice
2021-11-22 23:05:46 +00:00
{
public:
static const inline std::uint16_t USB_VENDOR_ID = 0x03eb;
static const inline std::uint16_t USB_PRODUCT_ID = 0x2111;
static const inline std::uint8_t CMSIS_HID_INTERFACE_NUMBER = 0;
2021-11-22 23:05:46 +00:00
XplainedPro();
2021-11-22 23:05:46 +00:00
std::string getName() override {
return "Xplained Pro";
}
protected:
void configureAvr8Interface() override;
2021-11-22 23:05:46 +00:00
};
}