From e76956c4bc3d1bcdaec7f45da15941b9bb33ab69 Mon Sep 17 00:00:00 2001 From: yczpf2019 Date: Sat, 24 Jan 2026 18:47:47 +0800 Subject: [PATCH] fix: remove incorrect outer quotes in esp32c2 config to fix shell syntax error --- mixly/boards/default/micropython_esp32c2/config.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mixly/boards/default/micropython_esp32c2/config.json b/mixly/boards/default/micropython_esp32c2/config.json index 63fe4ab8..9fda40d0 100644 --- a/mixly/boards/default/micropython_esp32c2/config.json +++ b/mixly/boards/default/micropython_esp32c2/config.json @@ -62,20 +62,20 @@ "type": "command", "portSelect": "all", "micropython:esp32c2:mixgo_mini": { - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", + "command": "{esptool} --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", "special": [ { "name": "Firmware For General Application", - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, { "name": "Firmware Optimize For V2.x Board", - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_v2_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_v2_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } ] }, "micropython:esp32c2:generic_2M": { - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Generic_C2_lib-v1.25.0.bin\"" + "command": "{esptool} --chip esp32c2 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Generic_C2_lib-v1.25.0.bin\"" } }, "upload": { @@ -85,7 +85,7 @@ "{indexPath}/../micropython/build/lib", "{indexPath}/build/lib" ], - "command": "\"{ampy}\" -p {com} -d 1 -r \"{reset}\" put \"{indexPath}/build/upload\"", + "command": "{ampy} -p {com} -d 1 -r \"{reset}\" put \"{indexPath}/build/upload\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": []