File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 17
17
- name : Upload Release Assets
18
18
uses : shogo82148/actions-upload-release-asset@v1
19
19
with :
20
- asset_path : " micropython/ports/rp2/build-SPARKFUN_XRP_CONTROLLER-LARGE_BINARY/firmware .uf2"
20
+ asset_path : " micropython/ports/rp2/build-SPARKFUN_XRP_CONTROLLER-LARGE_BINARY/MICROPYTHON_OPENCV_SPARKFUN_XRP_CONTROLLER .uf2"
21
21
github_token : ${{ secrets.GITHUB_TOKEN }}
22
22
upload_url : ${{ github.event.release.upload_url }}
23
23
Original file line number Diff line number Diff line change @@ -173,4 +173,7 @@ function build_micropython_opencv {
173
173
174
174
# Build firmware
175
175
make BOARD=SPARKFUN_XRP_CONTROLLER ${MAKEOPTS}
176
+
177
+ # Rename firmware file to identify it as the OpenCV build and which board it's for
178
+ mv micropython/ports/rp2/build-SPARKFUN_XRP_CONTROLLER-LARGE_BINARY/firmware.uf2 micropython/ports/rp2/build-SPARKFUN_XRP_CONTROLLER-LARGE_BINARY/MICROPYTHON_OPENCV_SPARKFUN_XRP_CONTROLLER.uf2
176
179
}
You can’t perform that action at this time.
0 commit comments