From 5d325341868e4330fe0a3d3d90150eff8a6967b2 Mon Sep 17 00:00:00 2001 From: Alden-wrk <168357057+Alden-wrk@users.noreply.github.com> Date: Wed, 15 May 2024 14:55:26 +0800 Subject: [PATCH 1/2] ADD APM32 DFU Bootloader --- manifest.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 8cee67714..1b82eb9b5 100644 --- a/manifest.json +++ b/manifest.json @@ -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 ]} ], From d55595b5c1c9905d6cf572f8cb107b329408705c Mon Sep 17 00:00:00 2001 From: Alden-wrk <168357057+Alden-wrk@users.noreply.github.com> Date: Wed, 15 May 2024 15:03:43 +0800 Subject: [PATCH 2/2] Update port_handler.js --- js/port_handler.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/port_handler.js b/js/port_handler.js index 2f23678a8..182893fa8 100755 --- a/js/port_handler.js +++ b/js/port_handler.js @@ -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 ]; @@ -297,4 +298,4 @@ PortHandler.flush_callbacks = function () { return killed; }; -module.exports = { usbDevices, PortHandler }; \ No newline at end of file +module.exports = { usbDevices, PortHandler };