Commit 021dc0c 1 parent 5859821 commit 021dc0c Copy full SHA for 021dc0c
File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ extern "C" void tud_vendor_rx_cb(uint8_t itf)
105
105
void setup () {
106
106
USBDevice.setProductDescriptor (" CMSIS-DAP" );
107
107
USBDevice.addInterface (cmsisdap_v2);
108
-
108
+ // USBDevice.setID(0x0D28,0x0204);
109
109
// Custom pin definitions.
110
110
// You must change pin definitions BEFORE calling DAP_Setup function.
111
111
SWDIOPin.setPin (A9);
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ extern "C" void tud_vendor_rx_cb(uint8_t itf)
105
105
void setup () {
106
106
USBDevice.setProductDescriptor (" CMSIS-DAP" );
107
107
USBDevice.addInterface (cmsisdap_v2);
108
+ // USBDevice.setID(0x0D28,0x0204);
108
109
109
110
pinMode (LED_BUILTIN, OUTPUT);
110
111
Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ uint8_t const desc_hid_report[] =
94
94
95
95
void setup () {
96
96
USBDevice.setProductDescriptor (" CMSIS-DAP" );
97
-
97
+ // USBDevice.setID(0x0D28,0x0204);
98
+
98
99
usb_hid.enableOutEndpoint (true );
99
100
usb_hid.setPollInterval (2 );
100
101
usb_hid.setBootProtocol (0 );
You can’t perform that action at this time.
0 commit comments