kopia lustrzana https://github.com/peterhinch/micropython-samples
Update build scripts to handle submodules.
rodzic
c1c2cb7c71
commit
0d27d95e80
|
@ -20,6 +20,8 @@ board.
|
|||
|
||||
The scripts will require minor edits to reflect your directory structure.
|
||||
|
||||
Scripts updated 12 Sep 2021 to fix handling of submodules.
|
||||
|
||||
###### [Main README](../README.md)
|
||||
|
||||
# Frozen modules and manifests
|
||||
|
|
|
@ -19,6 +19,7 @@ then
|
|||
fi
|
||||
fi
|
||||
|
||||
make submodules
|
||||
if make -j 8 FROZEN_MANIFEST=$MANIFEST
|
||||
then
|
||||
sleep 1
|
||||
|
|
|
@ -5,6 +5,7 @@ cd $MPDIR
|
|||
echo Working...
|
||||
git checkout master
|
||||
git pull origin master --tags
|
||||
git submodule sync
|
||||
git submodule update --init
|
||||
cd mpy-cross
|
||||
make clean
|
||||
|
@ -20,6 +21,5 @@ cd ../esp8266
|
|||
make clean
|
||||
cd ../unix
|
||||
make clean
|
||||
# If you're going to enable deplibs: see micropython/README
|
||||
#make deplibs
|
||||
make submodules
|
||||
make -j 8
|
||||
|
|
|
@ -39,6 +39,7 @@ then
|
|||
then
|
||||
make BOARD=$BOARD clean
|
||||
fi
|
||||
make submodules
|
||||
if make -j 8 BOARD=$BOARD FROZEN_MANIFEST=$MANIFEST MICROPY_VFS_LFS2=1 && pyb_boot $MPDEVICE
|
||||
then
|
||||
sleep 1
|
||||
|
|
Ładowanie…
Reference in New Issue