mpflash 1.25.0rc3__tar.gz → 1.25.0rc4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/PKG-INFO +2 -2
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/uf2/windows.py +4 -2
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/pyproject.toml +5 -11
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/LICENSE +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/README.md +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/add_firmware.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/ask_input.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/basicgit.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/bootloader/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/bootloader/activate.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/bootloader/detect.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/bootloader/manual.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/bootloader/micropython.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/bootloader/touch1200.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/cli_download.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/cli_flash.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/cli_group.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/cli_list.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/cli_main.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/common.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/config.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/connected.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/core.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/gather_boards.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/loader.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/meta.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/micropython_boards.zip +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/models.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/db/tools.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/download/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/download/from_web.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/download/fwinfo.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/download/jid.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/downloaded.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/errors.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/esp.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/stm32.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/stm32_dfu.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/uf2/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/uf2/boardid.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/uf2/linux.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/uf2/macos.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/uf2/uf2disk.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/flash/worklist.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/list.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/logger.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpboard_id/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpboard_id/alternate.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpboard_id/board_id.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpboard_id/board_info.json +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpboard_id/board_info.zip +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpboard_id/known.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpboard_id/resolve.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpremoteboard/__init__.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpremoteboard/mpy_fw_info.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/mpremoteboard/runner.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/py.typed +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/board_database.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/click_aliases.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/dfu.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/pico-universal-flash-nuke/LICENSE.txt +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/pico-universal-flash-nuke/universal_flash_nuke.uf2 +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/pydfu.py +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/readme.md +0 -0
- {mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/versions.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: mpflash
|
3
|
-
Version: 1.25.
|
3
|
+
Version: 1.25.0rc4
|
4
4
|
Summary: Flash and download tool for MicroPython firmwares
|
5
5
|
License: MIT
|
6
6
|
Keywords: MicroPython,firmware,flash,download,UF2,esptool
|
@@ -29,7 +29,7 @@ Requires-Dist: loguru (>=0.7.2,<0.8.0)
|
|
29
29
|
Requires-Dist: mpremote (>=1.22.0,<2.0.0)
|
30
30
|
Requires-Dist: packaging (>=24.2,<25.0)
|
31
31
|
Requires-Dist: platformdirs (>=4.2.0,<5.0.0)
|
32
|
-
Requires-Dist: psutil (>=
|
32
|
+
Requires-Dist: psutil (>=7.0.0,<8.0.0)
|
33
33
|
Requires-Dist: pygithub (>=2.1.1,<3.0.0)
|
34
34
|
Requires-Dist: pyusb (>=1.2.1,<2.0.0)
|
35
35
|
Requires-Dist: pywin32 (>=310,<311) ; sys_platform == "win32"
|
@@ -7,13 +7,15 @@ import time
|
|
7
7
|
from pathlib import Path
|
8
8
|
from typing import Optional
|
9
9
|
|
10
|
-
from .boardid import get_board_id
|
11
|
-
import psutil
|
12
10
|
from rich.progress import track
|
13
11
|
|
12
|
+
from .boardid import get_board_id
|
13
|
+
|
14
14
|
|
15
15
|
def wait_for_UF2_windows(board_id: str, s_max: int = 10) -> Optional[Path]:
|
16
16
|
"""Wait for the MCU to mount as a drive"""
|
17
|
+
import psutil
|
18
|
+
|
17
19
|
if s_max < 1:
|
18
20
|
s_max = 10
|
19
21
|
destination = None
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
[tool.poetry]
|
7
7
|
name = "mpflash"
|
8
|
-
version = "1.25.0.
|
8
|
+
version = "1.25.0.rc4"
|
9
9
|
description = "Flash and download tool for MicroPython firmwares"
|
10
10
|
authors = ["Jos Verlinde <jos_verlinde@hotmail.com>"]
|
11
11
|
license = "MIT"
|
@@ -38,7 +38,7 @@ loguru = "^0.7.2"
|
|
38
38
|
mpremote = "^1.22.0"
|
39
39
|
packaging = "^24.2"
|
40
40
|
platformdirs = "^4.2.0"
|
41
|
-
psutil = ">=
|
41
|
+
psutil = ">=7.0.0,<8.0.0"
|
42
42
|
pygithub = "^2.1.1"
|
43
43
|
pyusb = "^1.2.1"
|
44
44
|
requests = "^2.31.0"
|
@@ -88,13 +88,8 @@ build-backend = "poetry.core.masonry.api"
|
|
88
88
|
minversion = "7.0"
|
89
89
|
python_functions = ["test_", "*_test"]
|
90
90
|
python_files = ["test_*.py", "*_test.py"]
|
91
|
-
testpaths = [
|
92
|
-
|
93
|
-
]
|
94
|
-
norecursedirs = [
|
95
|
-
".*",
|
96
|
-
".*/*",
|
97
|
-
]
|
91
|
+
testpaths = ["tests"]
|
92
|
+
norecursedirs = [".*", ".*/*"]
|
98
93
|
junit_family = "xunit1"
|
99
94
|
|
100
95
|
addopts = "--capture=no --cov-branch --cov-report=xml -m 'not slow'"
|
@@ -243,5 +238,4 @@ line-ending = "auto"
|
|
243
238
|
|
244
239
|
[tool.ruff.lint]
|
245
240
|
exclude = [".*", "__*", "dist", "repos", "mpflash\\vendor"]
|
246
|
-
ignore = ["F821"
|
247
|
-
|
241
|
+
ignore = ["F821"]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mpflash-1.25.0rc3 → mpflash-1.25.0rc4}/mpflash/vendor/pico-universal-flash-nuke/LICENSE.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|