mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
misc: Fix files still referencing old micropython location.
This commit is contained in:
parent
1962f4ba7a
commit
001c22adc8
@ -6,10 +6,10 @@ cd $(dirname $0)/..
|
|||||||
|
|
||||||
export PATH=/source/gcc/bin:/source/cmake/bin:$PATH
|
export PATH=/source/gcc/bin:/source/cmake/bin:$PATH
|
||||||
git submodule update --init --depth=1
|
git submodule update --init --depth=1
|
||||||
git -C src/micropython/ submodule update --init --depth=1
|
git -C src/lib/micropython/ submodule update --init --depth=1
|
||||||
|
|
||||||
# Build the firmware.
|
# Build the firmware.
|
||||||
make -j$(nproc) -C src/micropython/mpy-cross
|
make -j$(nproc) -C src/lib/micropython/mpy-cross
|
||||||
make -j$(nproc) TARGET=$TARGET LLVM_PATH=/source/llvm/bin -C src
|
make -j$(nproc) TARGET=$TARGET LLVM_PATH=/source/llvm/bin -C src
|
||||||
mkdir -p ./docker/build/$TARGET
|
mkdir -p ./docker/build/$TARGET
|
||||||
cp -r src/build/bin/* ./docker/build/$TARGET
|
cp -r src/build/bin/* ./docker/build/$TARGET
|
||||||
|
|||||||
@ -61,14 +61,14 @@ The above command will clone this repository along with all of its submodules re
|
|||||||
git clone --depth=1 https://github.com/openmv/openmv.git
|
git clone --depth=1 https://github.com/openmv/openmv.git
|
||||||
cd openmv
|
cd openmv
|
||||||
git submodule update --init --depth=1 --no-single-branch
|
git submodule update --init --depth=1 --no-single-branch
|
||||||
git -C src/micropython/ submodule update --init --depth=1
|
git -C src/lib/micropython/ submodule update --init --depth=1
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build the firmware
|
### Build the firmware
|
||||||
To build the firmware, run the following commands inside the openmv repository:
|
To build the firmware, run the following commands inside the openmv repository:
|
||||||
```bash
|
```bash
|
||||||
cd openmv
|
cd openmv
|
||||||
make -j$(nproc) -C src/micropython/mpy-cross # Builds Micropython mpy cross-compiler
|
make -j$(nproc) -C src/lib/micropython/mpy-cross # Builds Micropython mpy cross-compiler
|
||||||
make -j$(nproc) TARGET=<TRAGET_NAME> -C src # Builds the OpenMV firmware
|
make -j$(nproc) TARGET=<TRAGET_NAME> -C src # Builds the OpenMV firmware
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user