V1.0.1
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -28,7 +28,7 @@
|
||||
"RelativeDocumentMoniker": "rp2040_Loader.py",
|
||||
"ToolTip": "C:\\Users\\william\\Documents\\Git\\RP2040_UPS_Loader\\rp2040_Loader.py",
|
||||
"RelativeToolTip": "rp2040_Loader.py",
|
||||
"ViewState": "AgIAAFAAAAAAAAAAAAAqwIAAAACAAAAAAAAAAA==",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABNAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.002457|",
|
||||
"WhenOpened": "2025-07-10T14:11:57.024Z",
|
||||
"EditorCaption": ""
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"RelativeDocumentMoniker": "rp2040_Loader.py",
|
||||
"ToolTip": "C:\\Users\\william\\Documents\\Git\\RP2040_UPS_Loader\\rp2040_Loader.py",
|
||||
"RelativeToolTip": "rp2040_Loader.py",
|
||||
"ViewState": "AgIAAFAAAAAAAAAAAAAqwG4AAAAaAAAAAAAAAA==",
|
||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABNAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.002457|",
|
||||
"WhenOpened": "2025-07-10T14:11:57.024Z",
|
||||
"EditorCaption": ""
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
_____ _ _
|
||||
/ ____| | | |
|
||||
| | | |__ __ _ _ __ __ _ ___ | | ___ __ _
|
||||
| | | '_ \ / _` | '_ \ / _` |/ _ \ | | / _ \ / _` |
|
||||
| |____| | | | (_| | | | | (_| | __/ | |___| (_) | (_| |
|
||||
\_____|_| |_|\__,_|_| |_|\__, |\___| |______\___/ \__, |
|
||||
__/ | __/ |
|
||||
|___/ |___/
|
||||
|
||||
|
||||
|
||||
RP2040 Loader V1.0.0 - 22/07/2025
|
||||
|
||||
- Initial release
|
||||
|
||||
RP2040 Loader V1.0.1 - 23/07/2025
|
||||
|
||||
Improvements:
|
||||
- Integrated `mpremote` into the application package to support mp file uploads without requiring external installation
|
||||
Binary file not shown.
Binary file not shown.
+5
-2
@@ -13,6 +13,8 @@ class RP2040UploaderApp:
|
||||
|
||||
self.folder_path = os.path.join(os.getcwd(), "Resources/RP2040")
|
||||
self.config_path = os.path.join(self.folder_path, "config.json")
|
||||
self.mpremote_path = os.path.join(os.getcwd(), "Resources", "mpremote.exe")
|
||||
|
||||
|
||||
self.label = tk.Label(master, text="Searching for RP2040...")
|
||||
self.label.pack(pady=10)
|
||||
@@ -93,10 +95,11 @@ class RP2040UploaderApp:
|
||||
self.label.config(text=f"Uploading {filename}...")
|
||||
self.master.update()
|
||||
result = subprocess.run(
|
||||
["mpremote", "connect", self.port, "fs", "cp", full_path, f":{filename}"],
|
||||
[self.mpremote_path, "connect", self.port, "fs", "cp", full_path, f":{filename}"],
|
||||
capture_output=True,
|
||||
text=True
|
||||
)
|
||||
|
||||
if result.returncode != 0:
|
||||
success = False
|
||||
messagebox.showerror("Upload Failed", f"Failed to upload {filename}:\n{result.stderr}")
|
||||
@@ -111,7 +114,7 @@ class RP2040UploaderApp:
|
||||
if __name__ == "__main__":
|
||||
root = tk.Tk()
|
||||
app = RP2040UploaderApp(root)
|
||||
root.title("RP2040 Flasher V1.0.0")
|
||||
root.title("RP2040 Loader V1.0.1")
|
||||
|
||||
root.iconbitmap(r'Resources/icon1.ico')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user