Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e2bbe4

Browse files
committed
Update documentation about installing with mip
Add documentation for installing with `mip`. Keep the instructionsfor installing using `upip` for now, as we still intend to publishto PyPI for now, and thereby keep supporting installing on olderMicroPython versions, which do not yet have `mip`.
1 parentb284091 commit4e2bbe4

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

‎README.rst‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,13 @@ To get going run the following directly on the ESP32:
6262

6363
..code-block::python
6464
65-
# Step 1: Install micropython-esp32-ulp
6665
# IMPORTANT: Ensure the ESP32 is connected to a network with internet connectivity.
66+
67+
# Step 1: Install micropython-esp32-ulp (for MicroPython v1.20 or newer)
68+
import mip
69+
mip.install('github:micropython/micropython-esp32-ulp')
70+
71+
# Step 1: Install micropython-esp32-ulp (for MicroPython older than v1.20)
6772
import upip
6873
upip.install('micropython-esp32-ulp')
6974

‎docs/index.rst‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@ Overview
1313
Installation
1414
------------
1515

16-
On the ESP32, install using upip:
16+
On the ESP32, install usingmip (orupip on older MicroPythons):
1717

1818
..code-block::python
1919
20-
# ensure the ESP32 is connected to a network with internet connectivity
20+
# step 1: ensure the ESP32 is connected to a network with internet connectivity
21+
22+
# step 2 (for MicroPython 1.20 or newer)
23+
import mip
24+
mip.install('github:micropython/micropython-esp32-ulp')
25+
26+
# step 2 (for MicroPython older than 1.20)
2127
import upip
2228
upip.install('micropython-esp32-ulp')
2329

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp