mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +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
|
||||
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.
|
||||
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
|
||||
mkdir -p ./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
|
||||
cd openmv
|
||||
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
|
||||
To build the firmware, run the following commands inside the openmv repository:
|
||||
```bash
|
||||
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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user