Skip to content

Commit d9501a7

Browse files
committed
Update to use large binary variant
Progress towards #29, should rename to "OpenCV" before launch
1 parent 4f1acc6 commit d9501a7

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
uses: actions/upload-artifact@v4
3535
with:
3636
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

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ CURRENT_DIR = $(shell pwd)
77
# Set the MicroPython user C module path to the OpenCV module
88
MAKE_ARGS = USER_C_MODULES="$(CURRENT_DIR)/src/opencv_upy.cmake"
99

10+
# Ensure we're building the OpenCV board variant
11+
MAKE_ARGS += BOARD_VARIANT=LARGE_BINARY
12+
1013
# Use the OpenCV driver manifest
1114
MAKE_ARGS += FROZEN_MANIFEST="$(CURRENT_DIR)/manifest.py"
1215

@@ -16,8 +19,8 @@ all:
1619

1720
# Clean the MicroPython build
1821
clean:
19-
@cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS) clean
22+
@cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS) $(MAKE_ARGS) clean
2023

2124
# Load the MicroPython submodules
2225
submodules:
23-
@cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS) submodules
26+
@cd micropython/ports/rp2 && make -f Makefile $(MAKEFLAGS) $(MAKE_ARGS) submodules

micropython

Submodule micropython updated 450 files

0 commit comments

Comments
 (0)