Skip to content

Commit da7f253

Browse files
committed
top: Use micropython-lib unconditionally in manifests.
micropython-lib is now a submodule, and the manifest compilation process will ensure it is available, so manifests no longer need to check that it is available. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 0b26efe commit da7f253

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

ports/esp8266/boards/GENERIC/manifest.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77
# drivers
88
freeze("$(MPY_DIR)/drivers/display", "ssd1306.py")
99

10-
# Libraries from micropython-lib, include only if the library directory exists
11-
if os.path.isdir(convert_path("$(MPY_LIB_DIR)")):
12-
# file utilities
13-
freeze("$(MPY_LIB_DIR)/micropython/upysh", "upysh.py")
10+
# micropython-lib: file utilities
11+
freeze("$(MPY_LIB_DIR)/micropython/upysh", "upysh.py")
1412

15-
# requests
16-
freeze("$(MPY_LIB_DIR)/python-ecosys/urequests", "urequests.py")
17-
freeze("$(MPY_LIB_DIR)/micropython/urllib.urequest", "urllib/urequest.py")
13+
# micropython-lib: requests
14+
freeze("$(MPY_LIB_DIR)/python-ecosys/urequests", "urequests.py")
15+
freeze("$(MPY_LIB_DIR)/micropython/urllib.urequest", "urllib/urequest.py")
1816

19-
# umqtt
20-
freeze("$(MPY_LIB_DIR)/micropython/umqtt.simple", "umqtt/simple.py")
21-
freeze("$(MPY_LIB_DIR)/micropython/umqtt.robust", "umqtt/robust.py")
17+
# micropython-lib: umqtt
18+
freeze("$(MPY_LIB_DIR)/micropython/umqtt.simple", "umqtt/simple.py")
19+
freeze("$(MPY_LIB_DIR)/micropython/umqtt.robust", "umqtt/robust.py")

ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
l2cap=True,
99
security=True,
1010
)
11-
if os.path.isdir(convert_path("$(MPY_LIB_DIR)")):
12-
freeze("$(MPY_LIB_DIR)/python-ecosys/urequests", "urequests.py")
11+
freeze("$(MPY_LIB_DIR)/python-ecosys/urequests", "urequests.py")

ports/rp2/boards/PICO_W/manifest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
freeze("$(MPY_DIR)/tools", "upip_utarfile.py")
55
freeze("$(MPY_DIR)/extmod", "ntptime.py")
66

7-
if os.path.isdir(convert_path("$(MPY_LIB_DIR)")):
8-
freeze("$(MPY_LIB_DIR)/python-ecosys/urequests", "urequests.py")
7+
freeze("$(MPY_LIB_DIR)/python-ecosys/urequests", "urequests.py")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy