mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #159] [MERGED] fix: CFG_TUD_HID=6 everywhere; delegate CI builds to make #234
Labels
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
safijari/openpuck#234
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/safijari/openpuck/pull/159
Author: @Copilot
Created: 7/9/2026
Status: ✅ Merged
Merged: 7/9/2026
Merged by: @safijari
Base:
main← Head:copilot/update-cfg-tud-hid-to-6📝 Commits (1)
5388781fix: set CFG_TUD_HID=6 everywhere; have CI use make build/reversepuck📊 Changes
6 files changed (+21 additions, -47 deletions)
View changed files
📝
.github/workflows/build.yml(+2 -14)📝
.github/workflows/release.yml(+3 -21)📝
AGENTS.md(+1 -3)📝
CODE_MAP.md(+1 -1)📝
Makefile(+11 -5)📝
docs/BUILD_AND_DEPLOY.md(+3 -3)📄 Description
CI workflows hardcoded
CFG_TUD_HID=4inline, diverging silently from the Makefile'sCFG_TUD_HID=6. This meant CI was compiling and shipping firmware with the wrong HID interface count.Changes
CI workflows (
build.yml,release.yml): Replace all inlinearduino-cli compileinvocations withmake build,make reversepuck, andmake build-recovery. Flag values now come from one place — the Makefile.Makefile: Add optional
BUILD_PATH/OUTPUT_DIRvariables. When set,--clean --build-path … --output-dir …are injected automatically, giving CI artifact control without duplicating flags:Propagated through all recursive
$(MAKE)calls (build-recovery,deploy,reversepuck-deploy).Docs /
AGENTS.md/CODE_MAP.md: Update staleCFG_TUD_HID=4andCFG_TUD_TASK_QUEUE_SZ=64references to6/512to match Makefile reality.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.