mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
micropython: Move submodule to lib.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
6f73ad9cc5
commit
4d3eeae2cc
2
.github/workflows/codeformat.yml
vendored
2
.github/workflows/codeformat.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
!src/hal/**
|
||||
!src/lib/**
|
||||
!src/drivers/**
|
||||
!src/micropython/**
|
||||
!src/lib/micropython/**
|
||||
!src/stm32cubeai/**
|
||||
!src/omv/ports/stm32/uvc/**
|
||||
!src/omv/ports/stm32/boot/**
|
||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,5 +1,5 @@
|
||||
[submodule "src/micropython"]
|
||||
path = src/micropython
|
||||
path = src/lib/micropython
|
||||
url = https://github.com/openmv/micropython.git
|
||||
branch = openmv
|
||||
[submodule "src/omv/modules/ulab"]
|
||||
|
@ -32,7 +32,7 @@ STRIP = $(Q)arm-none-eabi-strip -s
|
||||
OBJCOPY = $(Q)arm-none-eabi-objcopy
|
||||
OBJDUMP = $(Q)arm-none-eabi-objdump
|
||||
PYTHON = $(Q)python3
|
||||
MKDFU = micropython/tools/dfu.py
|
||||
MKDFU = $(MICROPY_DIR)/tools/dfu.py
|
||||
PYDFU = $(Q)../tools/pydfu.py
|
||||
MKDIR = $(Q)mkdir
|
||||
ECHO = $(Q)@echo
|
||||
@ -54,7 +54,7 @@ OMV_DIR=omv
|
||||
BOOT_DIR=boot
|
||||
CUBEAI_DIR=stm32cubeai
|
||||
CMSIS_DIR=hal/cmsis
|
||||
MICROPY_DIR=micropython
|
||||
MICROPY_DIR=lib/micropython
|
||||
GENX320_DIR=drivers/genx320
|
||||
BOSON_DIR=drivers/boson
|
||||
LEPTON_DIR=drivers/lepton
|
||||
|
@ -38,8 +38,8 @@ ci_install_gnu_make() {
|
||||
|
||||
ci_update_submodules() {
|
||||
git submodule update --init --depth=1 --no-single-branch
|
||||
git -C src/micropython/ submodule update --init --depth=1
|
||||
# (cd src/micropython/ && for remote in `git branch -r | grep -v /HEAD | grep -v master`; do git checkout --track $remote ; done)
|
||||
git -C src/lib/micropython/ submodule update --init --depth=1
|
||||
# (cd src/lib/micropython/ && for remote in `git branch -r | grep -v /HEAD | grep -v master`; do git checkout --track $remote ; done)
|
||||
}
|
||||
|
||||
########################################################################################
|
||||
@ -47,7 +47,7 @@ ci_update_submodules() {
|
||||
|
||||
ci_build_target() {
|
||||
export PATH=${GNU_MAKE_PATH}:${GCC_TOOLCHAIN_PATH}/bin:${PATH}
|
||||
make -j$(nproc) -C src/micropython/mpy-cross
|
||||
make -j$(nproc) -C src/lib/micropython/mpy-cross
|
||||
make -j$(nproc) TARGET=${1} LLVM_PATH=${LLVM_TOOLCHAIN_PATH}/bin -C src
|
||||
mv src/build/bin ${1}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user