Merge pull request #2593 from cespinal117/update_build_instructions
Some checks failed
🔎 Check Code Formatting / formatting-check (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_GIGA) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NANO_33_BLE_SENSE) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NANO_RP2040_CONNECT) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_NICLA_VISION) (push) Has been cancelled
🔥 Firmware Build / build-firmware (ARDUINO_PORTENTA_H7) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV2) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV3) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV4) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV4P) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMVPT) (push) Has been cancelled
🔥 Firmware Build / build-firmware (OPENMV_RT1060) (push) Has been cancelled
🔥 Firmware Build / code-size-report (push) Has been cancelled
🔥 Firmware Build / stable-release (push) Has been cancelled
🔥 Firmware Build / development-release (push) Has been cancelled

misc: Fix files still referencing old micropython location.
This commit is contained in:
Ibrahim Abdelkader 2025-02-05 20:30:54 +02:00 committed by GitHub
commit a25a43bd58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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
``` ```