Skip to content

Build each firmware version in its own folder - #60

Merged
glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:separate-firmware-objects
Nov 14, 2026
Merged

glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:separate-firmware-objects

Conversation

@glopesdev

Copy link
Copy Markdown
Collaborator

Objects and images are now built in a subfolder of bin for each firmware and hardware version, such as bin/fw3.4-hw2.0, so a build for another version compiles and links its own files instead of reusing those of the previous build.

Switching back to a version reuses its subfolder without recompiling. A preview number changes only the image name, so preview builds of one version share a subfolder. The CI firmware upload step collects images from the new subfolders, and the artifact and release asset names are unchanged.

Images built one after another without make clean are now identical to clean builds for every hardware target, including versions that differ only in a patch number.

Closes #59

Objects and images are built in a subfolder of bin for each firmware
and hardware version, so a build for another version compiles and
links its own files instead of reusing those of the previous build.
@glopesdev glopesdev added the fix Pull request that fixes an issue label Nov 13, 2026
@glopesdev
glopesdev merged commit e217c25 into harp-tech:main Nov 14, 2026
21 checks passed
@glopesdev
glopesdev deleted the separate-firmware-objects branch November 14, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull request that fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changing HARDWARE_VERSION without make clean links stale firmware objects

1 participant