From 9e9d3e1e793913c29f29fd7ccf906055604f68d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Sat, 26 Jul 2025 10:41:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(board):=20=E4=BF=AE=E5=A4=8Dmicropython=5Fe?= =?UTF-8?q?sp32c2=20web=20usb=E5=B7=A5=E4=BD=9C=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../micropython_esp32c2/origin/config.json | 51 +++++++++---------- 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/boards/default_src/micropython_esp32c2/origin/config.json b/boards/default_src/micropython_esp32c2/origin/config.json index c66baef2..4c4b8d58 100644 --- a/boards/default_src/micropython_esp32c2/origin/config.json +++ b/boards/default_src/micropython_esp32c2/origin/config.json @@ -70,35 +70,30 @@ "pythonToBlockly": false, "web": { "devices": { - "micropython:esp32c2:mixgo_mini": { - "serial": { - "filters": [ - { - "usbVendorId": 6790, - "usbProductId": 65036 - } - ] - }, - "hid": { - "filters": [ - { - "vendorId": 6790, - "productId": 65036 - } - ] - }, - "usb": { - "filters": [ - { - "vendorId": 6790, - "productId": 65036 - } - ] - } + "serial": { + "filters": [ + { + "usbVendorId": 6790, + "usbProductId": 65036 + } + ] }, - "serial": true, - "hid": true, - "usb": true + "hid": { + "filters": [ + { + "vendorId": 6790, + "productId": 65036 + } + ] + }, + "usb": { + "filters": [ + { + "vendorId": 6790, + "productId": 65036 + } + ] + } }, "burn": { "erase": true,