File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 34
34
uses : actions/upload-artifact@v4
35
35
with :
36
36
name : firmware.uf2
37
- path : micropython/ports/rp2/build-SPARKFUN_XRP_CONTROLLER/firmware.uf2
37
+ path : micropython/ports/rp2/build-SPARKFUN_XRP_CONTROLLER-LARGE_BINARY /firmware.uf2
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ CURRENT_DIR = $(shell pwd)
7
7
# Set the MicroPython user C module path to the OpenCV module
8
8
MAKE_ARGS = USER_C_MODULES="$(CURRENT_DIR ) /src/opencv_upy.cmake"
9
9
10
+ # Ensure we're building the OpenCV board variant
11
+ MAKE_ARGS += BOARD_VARIANT=LARGE_BINARY
12
+
10
13
# Use the OpenCV driver manifest
11
14
MAKE_ARGS += FROZEN_MANIFEST="$(CURRENT_DIR ) /manifest.py"
12
15
16
19
17
20
# Clean the MicroPython build
18
21
clean :
19
- @cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS ) clean
22
+ @cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS ) $( MAKE_ARGS ) clean
20
23
21
24
# Load the MicroPython submodules
22
25
submodules :
23
- @cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS ) submodules
26
+ @cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS ) $( MAKE_ARGS ) submodules
You can’t perform that action at this time.
0 commit comments