From b8e0acc4be899a1adc3ad94b67881d5bb6b4b4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Thu, 13 Mar 2025 10:27:37 +0800 Subject: [PATCH] =?UTF-8?q?Update(boards):=20=E5=B0=86micropython=E6=9D=BF?= =?UTF-8?q?=E5=8D=A1=E4=B8=8A=E4=BC=A0=E8=B7=AF=E5=BE=84=E6=94=B9=E4=B8=BA?= =?UTF-8?q?main.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- boards/default/micropython_educore/config.json | 2 +- boards/default/micropython_esp32/config.json | 2 +- boards/default/micropython_esp32c2/config.json | 2 +- boards/default/micropython_esp32c3/config.json | 2 +- boards/default/micropython_esp32s2/config.json | 2 +- boards/default/micropython_esp32s3/config.json | 2 +- boards/default/micropython_robot/config.json | 2 +- boards/default_src/micropython_educore/origin/config.json | 2 +- boards/default_src/micropython_esp32/origin/config.json | 2 +- boards/default_src/micropython_esp32c2/origin/config.json | 2 +- boards/default_src/micropython_esp32c3/origin/config.json | 2 +- boards/default_src/micropython_esp32s2/origin/config.json | 2 +- boards/default_src/micropython_esp32s3/origin/config.json | 2 +- boards/default_src/micropython_robot/origin/config.json | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/boards/default/micropython_educore/config.json b/boards/default/micropython_educore/config.json index 896b07e3..1e586b4c 100644 --- a/boards/default/micropython_educore/config.json +++ b/boards/default/micropython_educore/config.json @@ -27,7 +27,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default/micropython_esp32/config.json b/boards/default/micropython_esp32/config.json index ae9e81ef..44f313d4 100644 --- a/boards/default/micropython_esp32/config.json +++ b/boards/default/micropython_esp32/config.json @@ -29,7 +29,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default/micropython_esp32c2/config.json b/boards/default/micropython_esp32c2/config.json index c7ba95a0..2b906beb 100644 --- a/boards/default/micropython_esp32c2/config.json +++ b/boards/default/micropython_esp32c2/config.json @@ -31,7 +31,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default/micropython_esp32c3/config.json b/boards/default/micropython_esp32c3/config.json index 31c7cc1c..41b35d03 100644 --- a/boards/default/micropython_esp32c3/config.json +++ b/boards/default/micropython_esp32c3/config.json @@ -29,7 +29,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default/micropython_esp32s2/config.json b/boards/default/micropython_esp32s2/config.json index c13485e7..f6eedc08 100644 --- a/boards/default/micropython_esp32s2/config.json +++ b/boards/default/micropython_esp32s2/config.json @@ -41,7 +41,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default/micropython_esp32s3/config.json b/boards/default/micropython_esp32s3/config.json index fc8a0307..1748408c 100644 --- a/boards/default/micropython_esp32s3/config.json +++ b/boards/default/micropython_esp32s3/config.json @@ -24,7 +24,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default/micropython_robot/config.json b/boards/default/micropython_robot/config.json index e86ff85b..4770eb33 100644 --- a/boards/default/micropython_robot/config.json +++ b/boards/default/micropython_robot/config.json @@ -25,7 +25,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [], diff --git a/boards/default_src/micropython_educore/origin/config.json b/boards/default_src/micropython_educore/origin/config.json index 896b07e3..1e586b4c 100644 --- a/boards/default_src/micropython_educore/origin/config.json +++ b/boards/default_src/micropython_educore/origin/config.json @@ -27,7 +27,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default_src/micropython_esp32/origin/config.json b/boards/default_src/micropython_esp32/origin/config.json index ae9e81ef..44f313d4 100644 --- a/boards/default_src/micropython_esp32/origin/config.json +++ b/boards/default_src/micropython_esp32/origin/config.json @@ -29,7 +29,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default_src/micropython_esp32c2/origin/config.json b/boards/default_src/micropython_esp32c2/origin/config.json index c7ba95a0..2b906beb 100644 --- a/boards/default_src/micropython_esp32c2/origin/config.json +++ b/boards/default_src/micropython_esp32c2/origin/config.json @@ -31,7 +31,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default_src/micropython_esp32c3/origin/config.json b/boards/default_src/micropython_esp32c3/origin/config.json index 31c7cc1c..41b35d03 100644 --- a/boards/default_src/micropython_esp32c3/origin/config.json +++ b/boards/default_src/micropython_esp32c3/origin/config.json @@ -29,7 +29,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default_src/micropython_esp32s2/origin/config.json b/boards/default_src/micropython_esp32s2/origin/config.json index c13485e7..f6eedc08 100644 --- a/boards/default_src/micropython_esp32s2/origin/config.json +++ b/boards/default_src/micropython_esp32s2/origin/config.json @@ -41,7 +41,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default_src/micropython_esp32s3/origin/config.json b/boards/default_src/micropython_esp32s3/origin/config.json index fc8a0307..1748408c 100644 --- a/boards/default_src/micropython_esp32s3/origin/config.json +++ b/boards/default_src/micropython_esp32s3/origin/config.json @@ -24,7 +24,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [] diff --git a/boards/default_src/micropython_robot/origin/config.json b/boards/default_src/micropython_robot/origin/config.json index e86ff85b..4770eb33 100644 --- a/boards/default_src/micropython_robot/origin/config.json +++ b/boards/default_src/micropython_robot/origin/config.json @@ -25,7 +25,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/main.py\"", "filePath": "{indexPath}/build/upload/main.py", "copyLib": false, "reset": [],