Skip to content

Commit

Permalink
Merge pull request #2075 from Alden-wrk/patch-2
Browse files Browse the repository at this point in the history
ADD APM32 MCU USB_DFU
  • Loading branch information
DzikuVx authored May 16, 2024
2 parents d3a89d0 + d55595b commit 083b4d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions js/port_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const ConnectionSerial = require('./connection/connectionSerial');

var usbDevices = [
{ 'vendorId': 1155, 'productId': 57105},
{ 'vendorId': 11836, 'productId': 57105}
{ 'vendorId': 11836, 'productId': 57105},
{ 'vendorId': 12619, 'productId': 262}, // APM32 DFU Bootloader
];


Expand Down Expand Up @@ -297,4 +298,4 @@ PortHandler.flush_callbacks = function () {
return killed;
};

module.exports = { usbDevices, PortHandler };
module.exports = { usbDevices, PortHandler };
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"alwaysOnTopWindows",
{"usbDevices": [
{"vendorId": 1155, "productId": 57105},
{"vendorId": 11836, "productId": 57105}
{"vendorId": 11836, "productId": 57105},
{'vendorId': 12619, 'productId': 262} // APM32 DFU Bootloader
]}
],

Expand Down

0 comments on commit 083b4d2

Please sign in to comment.