File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ function build_micropython_red_vision {
1616 # Set Pico SDK path to $GITHUB_WORKSPACE/micropython/lib/pico-sdk if $GITHUB_WORKSPACE is set, otherwise use the current directory
1717 if [ -n " $GITHUB_WORKSPACE " ]; then
1818 export PICO_SDK_PATH=" $GITHUB_WORKSPACE /micropython/lib/pico-sdk"
19- # Ensure we're in the micropython directory
20- cd micropython
2119 else
2220 export PICO_SDK_PATH=$( dirname " $0 " ) /lib/pico-sdk
2321 fi
@@ -34,6 +32,9 @@ function build_micropython_red_vision {
3432 # Build OpenCV
3533 make -C lib/red_vision/micropython-opencv PLATFORM=rp2350 --no-print-directory ${MAKEOPTS}
3634
35+ # Archive the examples directory
36+ python3 -m freezefs lib/red_vision/red_vision_examples lib/red_vision/extract_red_vision_examples.py --on-import=extract --compress --overwrite always
37+
3738 # Build firmware
3839 make -C lib/red_vision PORT_DIR=~ /micropython/ports/rp2 BOARD=SPARKFUN_XRP_CONTROLLER --no-print-directory ${MAKEOPTS}
3940
You can’t perform that action at this time.
0 commit comments