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 {
16
16
# Set Pico SDK path to $GITHUB_WORKSPACE/micropython/lib/pico-sdk if $GITHUB_WORKSPACE is set, otherwise use the current directory
17
17
if [ -n " $GITHUB_WORKSPACE " ]; then
18
18
export PICO_SDK_PATH=" $GITHUB_WORKSPACE /micropython/lib/pico-sdk"
19
- # Ensure we're in the micropython directory
20
- cd micropython
21
19
else
22
20
export PICO_SDK_PATH=$( dirname " $0 " ) /lib/pico-sdk
23
21
fi
@@ -34,6 +32,9 @@ function build_micropython_red_vision {
34
32
# Build OpenCV
35
33
make -C lib/red_vision/micropython-opencv PLATFORM=rp2350 --no-print-directory ${MAKEOPTS}
36
34
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
+
37
38
# Build firmware
38
39
make -C lib/red_vision PORT_DIR=~ /micropython/ports/rp2 BOARD=SPARKFUN_XRP_CONTROLLER --no-print-directory ${MAKEOPTS}
39
40
You can’t perform that action at this time.
0 commit comments