Check if Microchip hybrid devices (Snap and PICkit 4) are not in AVR mode and report back to the user.
This commit is contained in:
@@ -28,10 +28,16 @@ namespace Bloom::DebugToolDrivers
|
||||
static const inline std::uint16_t USB_PRODUCT_ID = 0x2180;
|
||||
static const inline std::uint8_t CMSIS_HID_INTERFACE_NUMBER = 0;
|
||||
|
||||
static const inline std::uint16_t NON_EDBG_USB_VENDOR_ID = 0x04d8;
|
||||
static const inline std::uint16_t NON_EDBG_USB_PRODUCT_ID = 0x9018;
|
||||
static const inline std::uint16_t NON_EDBG_USB_PRODUCT_ID_ALTERNATIVE = 0x9017;
|
||||
|
||||
MplabSnap();
|
||||
|
||||
std::string getName() override {
|
||||
return "MPLAB Snap";
|
||||
}
|
||||
|
||||
void init() override;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user