Skip to content

added build_firmware_uf2 workflow, build_and_upload.py improvements#107

Open
garthgillespie wants to merge 1 commit into
TinyCircuits:mainfrom
garthgillespie:firmware-workflow
Open

added build_firmware_uf2 workflow, build_and_upload.py improvements#107
garthgillespie wants to merge 1 commit into
TinyCircuits:mainfrom
garthgillespie:firmware-workflow

Conversation

@garthgillespie

Copy link
Copy Markdown
build_and_upload.py:
- --jobs option, to override/disable parallel make jobs
- fixed `no_upload` to not require pyserial/serial packages
- fixed a newline being included in the firmware filename

Successful run here: https://github.com/garthgillespie/TinyCircuits-Tiny-Game-Engine/actions/runs/16278445982

As written, this workflow can only be triggered manually. You may want run this continuously on main or in some build process instead.

As noted in the comments, I had to disable parallel jobs in make because pwm.pio.h wasn't being generated in time. I'm not sure why make/cmake aren't aware of the dependency. If that can be fixed, parallel jobs could be enabled, but I doubt it's a big difference.

build_and_upload.py:
- --jobs option, to override/disable parallel make jobs
- fixed `no_upload` to not require pyserial/serial packages
- fixed a newline being included in the firmware filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant