Skip to content

Commit 24bce3a

Browse files
Update docs regarding compilation
1 parent a4875b4 commit 24bce3a

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

docs/os-development/compiling.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Clone the repositories:
44

55
```
6-
git clone --recurse-submodules https://github.com/MicroPythonOS/MicroPythonOS.git
6+
git clone --recurse-submodules --depth 1 --shallow-submodules https://github.com/MicroPythonOS/MicroPythonOS.git
77
cd MicroPythonOS/
88
```
99

@@ -18,7 +18,8 @@ But if you need to save on bandwidth and time, you can instead do the following,
1818
```
1919
cd MicroPythonOS/
2020
git submodule foreach --recursive 'git clean -f; git checkout .'
21-
git pull --recurse-submodules
21+
git pull --depth 1
22+
git submodule update --init --depth 1
2223
```
2324

2425
## Compile the code

docs/os-development/running-on-desktop.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@
44

55
If you built from source, you will already have a local clone that contains it.
66

7-
If you used a pre-built binary, then you need to get a local clone and change into that directory with:
8-
9-
<pre>
10-
```
11-
git clone --recurse-submodules https://github.com/MicroPythonOS/MicroPythonOS.git
12-
cd MicroPythonOS/
13-
```
14-
</pre>
7+
If you used a pre-built binary, you can download the accompanying "Source code" zip from the [releases page](https://github.com/MicroPythonOS/MicroPythonOS/releases) and extract the internal_filesystem/ folder from it.
158

169
2. **Make sure you have the software**
1710

0 commit comments

Comments
 (0)