diff --git a/fix_configs.py b/fix_configs.py new file mode 100644 index 00000000..7e5f2ddb --- /dev/null +++ b/fix_configs.py @@ -0,0 +1,21 @@ +import os +import json + +boards_dir = r"D:\DE-MIXLY\mixly3-server\mixly\boards" + +for root, dirs, files in os.walk(boards_dir): + for file in files: + if file == "config.json": + file_path = os.path.join(root, file) + try: + with open(file_path, "r", encoding="utf-8") as f: + content = f.read() + + new_content = content.replace('\\"{esptool}\\"', '{esptool}').replace('\\"{ampy}\\"', '{ampy}') + + if content != new_content: + print(f"Fixing: {file_path}") + with open(file_path, "w", encoding="utf-8") as f: + f.write(new_content) + except Exception as e: + print(f"Error processing {file_path}: {e}") diff --git a/mixly/boards/default/micropython_educore/config.json b/mixly/boards/default/micropython_educore/config.json index 2eec80a7..750ca3d3 100644 --- a/mixly/boards/default/micropython_educore/config.json +++ b/mixly/boards/default/micropython_educore/config.json @@ -34,15 +34,15 @@ "type": "command", "portSelect": "all", "micropython:educore:educore": { - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.23.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.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", "special": [ { "name": "Firmware No Ble With SSL", - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.23.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.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, { "name": "Firmware With Ble No SSL", - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib_ble-v1.23.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_ble-v1.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } ] } @@ -54,7 +54,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": [] diff --git a/mixly/boards/default/micropython_esp32/config.json b/mixly/boards/default/micropython_esp32/config.json index 2c6ae0b3..c438e7a9 100644 --- a/mixly/boards/default/micropython_esp32/config.json +++ b/mixly/boards/default/micropython_esp32/config.json @@ -118,16 +118,16 @@ "type": "command", "portSelect": "all", "micropython:esp32:mixgo": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:mixgo_pe": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_PE_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_PE_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:generic": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Generic_ESP32_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Generic_ESP32_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:mpython": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/mPython_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/mPython_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -137,7 +137,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default/micropython_esp32c3/config.json b/mixly/boards/default/micropython_esp32c3/config.json index a39434b7..422b8c74 100644 --- a/mixly/boards/default/micropython_esp32c3/config.json +++ b/mixly/boards/default/micropython_esp32c3/config.json @@ -118,16 +118,16 @@ "type": "command", "portSelect": "all", "micropython:esp32c3:mixgo_cc": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_CC_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_CC_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32c3:mixgo_me": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_ME_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_ME_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32c3:mixgocar_c3": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_Car_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_Car_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32c3:generic": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Generic_C3_UART_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Generic_C3_UART_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -137,7 +137,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default/micropython_esp32c5/config.json b/mixly/boards/default/micropython_esp32c5/config.json index 955914a9..9820e4f2 100644 --- a/mixly/boards/default/micropython_esp32c5/config.json +++ b/mixly/boards/default/micropython_esp32c5/config.json @@ -62,10 +62,10 @@ "type": "command", "portSelect": "all", "micropython:esp32c5:mixgo_sowl": { - "command": "\"{esptool}\" --chip esp32c5 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x2000 \"{indexPath}/build/Mixgo_Sowl_lib-v1.27.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32c5 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x2000 \"{indexPath}/build/Mixgo_Sowl_lib-v1.27.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32c5:generic": { - "command": "\"{esptool}\" --chip esp32c5 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x2000 \"{indexPath}/build/Generic_C5_lib-v1.27.0.bin\" 0x3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c5 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x2000 \"{indexPath}/build/Generic_C5_lib-v1.27.0.bin\" 0x3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -75,7 +75,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default/micropython_esp32s2/config.json b/mixly/boards/default/micropython_esp32s2/config.json index b8432160..ec01b0f0 100644 --- a/mixly/boards/default/micropython_esp32s2/config.json +++ b/mixly/boards/default/micropython_esp32s2/config.json @@ -62,28 +62,28 @@ "type": "command", "portSelect": "all", "micropython:esp32s2:mixgo_ce": { - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", "special": [ { "name": "Default", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, { "name": "ESP-AT-mode", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" } ] }, "micropython:esp32s2:generic": { - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"", + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"", "special": [ { "name": "Default", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"" }, { "name": "ESP-AT-mode", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" } ] } @@ -95,7 +95,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default/micropython_esp32s3/config.json b/mixly/boards/default/micropython_esp32s3/config.json index 9dfec141..b95faf51 100644 --- a/mixly/boards/default/micropython_esp32s3/config.json +++ b/mixly/boards/default/micropython_esp32s3/config.json @@ -118,16 +118,16 @@ "type": "command", "portSelect": "all", "micropython:esp32s3:mixgo_sant": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Sant_lib_DL-v1.25.0.bin\" 0xF00000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0xC00000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Sant_lib_DL-v1.25.0.bin\" 0xF00000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0xC00000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32s3:mixgo_nova": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Nova_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Nova_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32s3:mixgo_soar": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Soar_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Soar_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32s3:generic": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0 \"{indexPath}/build/Generic_S3_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0 \"{indexPath}/build/Generic_S3_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -137,7 +137,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default/micropython_k210_mixgoai/config.json b/mixly/boards/default/micropython_k210_mixgoai/config.json index 9420b8e5..6ea79b27 100644 --- a/mixly/boards/default/micropython_k210_mixgoai/config.json +++ b/mixly/boards/default/micropython_k210_mixgoai/config.json @@ -21,7 +21,7 @@ "upload": { "type": "command", "portSelect": "all", - "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": true, "reset": [] diff --git a/mixly/boards/default/micropython_nrf51822_microbit/config.json b/mixly/boards/default/micropython_nrf51822_microbit/config.json index 0d97dc85..b8f1b6b2 100644 --- a/mixly/boards/default/micropython_nrf51822_microbit/config.json +++ b/mixly/boards/default/micropython_nrf51822_microbit/config.json @@ -25,7 +25,7 @@ "libPath": [ "{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": true, "reset": [] diff --git a/mixly/boards/default/micropython_nrf51822_mithoncc/config.json b/mixly/boards/default/micropython_nrf51822_mithoncc/config.json index acd4bfe5..4e1b5870 100644 --- a/mixly/boards/default/micropython_nrf51822_mithoncc/config.json +++ b/mixly/boards/default/micropython_nrf51822_mithoncc/config.json @@ -19,7 +19,7 @@ "libPath": [ "{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": true, "reset": [] diff --git a/mixly/boards/default/micropython_robot/config.json b/mixly/boards/default/micropython_robot/config.json index 511b7bc9..9760d862 100644 --- a/mixly/boards/default/micropython_robot/config.json +++ b/mixly/boards/default/micropython_robot/config.json @@ -90,13 +90,13 @@ "type": "command", "portSelect": "all", "micropython:esp32c3:feiyi": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_FeiYi_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_FeiYi_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:rm_e1": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/RM_E1_lib-v1.25.0.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/RM_E1_lib-v1.25.0.bin\"" }, "micropython:esp32:mixbot": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/MixBot_lib-v1.25.0.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/MixBot_lib-v1.25.0.bin\"" } }, "upload": { @@ -106,7 +106,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [], diff --git a/mixly/boards/default_src/micropython_educore/origin/config.json b/mixly/boards/default_src/micropython_educore/origin/config.json index 2eec80a7..750ca3d3 100644 --- a/mixly/boards/default_src/micropython_educore/origin/config.json +++ b/mixly/boards/default_src/micropython_educore/origin/config.json @@ -34,15 +34,15 @@ "type": "command", "portSelect": "all", "micropython:educore:educore": { - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.23.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.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", "special": [ { "name": "Firmware No Ble With SSL", - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib-v1.23.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.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, { "name": "Firmware With Ble No SSL", - "command": "\"{esptool}\" --chip esp32c2 --port {com} --baud {baudrate} --after=no_reset_stub write_flash -e 0x0 \"{indexPath}/build/Mixgo_Mini_lib_ble-v1.23.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_ble-v1.23.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } ] } @@ -54,7 +54,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": [] diff --git a/mixly/boards/default_src/micropython_esp32/origin/config.json b/mixly/boards/default_src/micropython_esp32/origin/config.json index 2c6ae0b3..c438e7a9 100644 --- a/mixly/boards/default_src/micropython_esp32/origin/config.json +++ b/mixly/boards/default_src/micropython_esp32/origin/config.json @@ -118,16 +118,16 @@ "type": "command", "portSelect": "all", "micropython:esp32:mixgo": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:mixgo_pe": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_PE_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Mixgo_PE_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:generic": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Generic_ESP32_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/Generic_ESP32_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:mpython": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/mPython_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/mPython_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -137,7 +137,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default_src/micropython_esp32c2/origin/config.json b/mixly/boards/default_src/micropython_esp32c2/origin/config.json index 63fe4ab8..9fda40d0 100644 --- a/mixly/boards/default_src/micropython_esp32c2/origin/config.json +++ b/mixly/boards/default_src/micropython_esp32c2/origin/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": [] diff --git a/mixly/boards/default_src/micropython_esp32c3/origin/config.json b/mixly/boards/default_src/micropython_esp32c3/origin/config.json index a39434b7..422b8c74 100644 --- a/mixly/boards/default_src/micropython_esp32c3/origin/config.json +++ b/mixly/boards/default_src/micropython_esp32c3/origin/config.json @@ -118,16 +118,16 @@ "type": "command", "portSelect": "all", "micropython:esp32c3:mixgo_cc": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_CC_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_CC_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32c3:mixgo_me": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_ME_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_ME_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32c3:mixgocar_c3": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_Car_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_Car_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32c3:generic": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Generic_C3_UART_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Generic_C3_UART_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -137,7 +137,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default_src/micropython_esp32c5/origin/config.json b/mixly/boards/default_src/micropython_esp32c5/origin/config.json index 955914a9..9820e4f2 100644 --- a/mixly/boards/default_src/micropython_esp32c5/origin/config.json +++ b/mixly/boards/default_src/micropython_esp32c5/origin/config.json @@ -62,10 +62,10 @@ "type": "command", "portSelect": "all", "micropython:esp32c5:mixgo_sowl": { - "command": "\"{esptool}\" --chip esp32c5 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x2000 \"{indexPath}/build/Mixgo_Sowl_lib-v1.27.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32c5 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x2000 \"{indexPath}/build/Mixgo_Sowl_lib-v1.27.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32c5:generic": { - "command": "\"{esptool}\" --chip esp32c5 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x2000 \"{indexPath}/build/Generic_C5_lib-v1.27.0.bin\" 0x3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c5 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x2000 \"{indexPath}/build/Generic_C5_lib-v1.27.0.bin\" 0x3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -75,7 +75,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default_src/micropython_esp32s2/origin/config.json b/mixly/boards/default_src/micropython_esp32s2/origin/config.json index b8432160..ec01b0f0 100644 --- a/mixly/boards/default_src/micropython_esp32s2/origin/config.json +++ b/mixly/boards/default_src/micropython_esp32s2/origin/config.json @@ -62,28 +62,28 @@ "type": "command", "portSelect": "all", "micropython:esp32s2:mixgo_ce": { - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"", "special": [ { "name": "Default", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Mixgo_CE_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, { "name": "ESP-AT-mode", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" } ] }, "micropython:esp32s2:generic": { - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"", + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"", "special": [ { "name": "Default", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x1000 \"{indexPath}/build/Generic_S2_lib-v1.25.0.bin\"" }, { "name": "ESP-AT-mode", - "command": "\"{esptool}\" --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" + "command": "{esptool} --chip esp32s2 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0000 \"{indexPath}/build/MixGo-CE_AT-T17_R18.bin\"" } ] } @@ -95,7 +95,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default_src/micropython_esp32s3/origin/config.json b/mixly/boards/default_src/micropython_esp32s3/origin/config.json index 9dfec141..b95faf51 100644 --- a/mixly/boards/default_src/micropython_esp32s3/origin/config.json +++ b/mixly/boards/default_src/micropython_esp32s3/origin/config.json @@ -118,16 +118,16 @@ "type": "command", "portSelect": "all", "micropython:esp32s3:mixgo_sant": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Sant_lib_DL-v1.25.0.bin\" 0xF00000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0xC00000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Sant_lib_DL-v1.25.0.bin\" 0xF00000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0xC00000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32s3:mixgo_nova": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Nova_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Nova_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK12.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32s3:mixgo_soar": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Soar_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after hard_reset write_flash -e 0x0 \"{indexPath}/build/Mixgo_Soar_lib-v1.25.0.bin\" 0x700000 \"{indexPath}/../micropython/build/HZK16_GBK.bin\" 0x400000 \"{indexPath}/../micropython/build/esp_tts_voice_data_xiaole.dat\"" }, "micropython:esp32s3:generic": { - "command": "\"{esptool}\" --chip esp32s3 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0 \"{indexPath}/build/Generic_S3_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32s3 --port {com} --baud {baudrate} --after=no_reset write_flash -e 0x0 \"{indexPath}/build/Generic_S3_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" } }, "upload": { @@ -137,7 +137,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [] diff --git a/mixly/boards/default_src/micropython_k210_mixgoai/origin/config.json b/mixly/boards/default_src/micropython_k210_mixgoai/origin/config.json index 9420b8e5..6ea79b27 100644 --- a/mixly/boards/default_src/micropython_k210_mixgoai/origin/config.json +++ b/mixly/boards/default_src/micropython_k210_mixgoai/origin/config.json @@ -21,7 +21,7 @@ "upload": { "type": "command", "portSelect": "all", - "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": true, "reset": [] diff --git a/mixly/boards/default_src/micropython_nrf51822_microbit/origin/config.json b/mixly/boards/default_src/micropython_nrf51822_microbit/origin/config.json index 0d97dc85..b8f1b6b2 100644 --- a/mixly/boards/default_src/micropython_nrf51822_microbit/origin/config.json +++ b/mixly/boards/default_src/micropython_nrf51822_microbit/origin/config.json @@ -25,7 +25,7 @@ "libPath": [ "{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": true, "reset": [] diff --git a/mixly/boards/default_src/micropython_nrf51822_mithoncc/origin/config.json b/mixly/boards/default_src/micropython_nrf51822_mithoncc/origin/config.json index acd4bfe5..4e1b5870 100644 --- a/mixly/boards/default_src/micropython_nrf51822_mithoncc/origin/config.json +++ b/mixly/boards/default_src/micropython_nrf51822_mithoncc/origin/config.json @@ -19,7 +19,7 @@ "libPath": [ "{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": true, "reset": [] diff --git a/mixly/boards/default_src/micropython_robot/origin/config.json b/mixly/boards/default_src/micropython_robot/origin/config.json index 511b7bc9..9760d862 100644 --- a/mixly/boards/default_src/micropython_robot/origin/config.json +++ b/mixly/boards/default_src/micropython_robot/origin/config.json @@ -90,13 +90,13 @@ "type": "command", "portSelect": "all", "micropython:esp32c3:feiyi": { - "command": "\"{esptool}\" --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_FeiYi_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" + "command": "{esptool} --chip esp32c3 --port {com} --baud {baudrate} write_flash -e 0x0 \"{indexPath}/build/Mixgo_FeiYi_lib-v1.25.0.bin\" 0X3A0000 \"{indexPath}/../micropython/build/HZK12.bin\"" }, "micropython:esp32:rm_e1": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/RM_E1_lib-v1.25.0.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/RM_E1_lib-v1.25.0.bin\"" }, "micropython:esp32:mixbot": { - "command": "\"{esptool}\" --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/MixBot_lib-v1.25.0.bin\"" + "command": "{esptool} --port {com} --baud {baudrate} write_flash -e 0x1000 \"{indexPath}/build/MixBot_lib-v1.25.0.bin\"" } }, "upload": { @@ -106,7 +106,7 @@ "{indexPath}/build/lib", "{indexPath}/../micropython/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": [],