Skip to content

Commit

Permalink
ADD APM32 MCU USB_DFU (#524)
Browse files Browse the repository at this point in the history
* ADD APM32 MCU USB_DFU

By modifying port_handler.js and manifest.json, you can add the VendorID and ProductID corresponding to APM32 so that it can directly support the firmware download of APM32 series MCU,https://global.geehy.com/

* Update manifest.json

* Update manifest.json

* Update src/js/port_handler.js

---------

Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
  • Loading branch information
Alden-wrk and nerdCopter authored May 15, 2024
1 parent f265109 commit 1b2648d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
{
"vendorId": 10473,
"productId": 393
},
{
"vendorId": 12619,
"productId": 262
}
]
},
Expand Down
3 changes: 2 additions & 1 deletion src/js/port_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const TIMEOUT_CHECK = 500; // With 250 it seems that it produces a memory leak a

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

var PortHandler = new function () {
Expand Down

0 comments on commit 1b2648d

Please sign in to comment.