Skip to content

Restore Mask suffix trimming in firmware output - #182

Merged
glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:firmware-mask-suffix
Nov 13, 2026
Merged

glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:firmware-mask-suffix

Conversation

@glopesdev

@glopesdev glopesdev commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Firmware group mask names now drop a trailing Mask. The C# and Python interfaces keep the declared name. A group mask called just Mask keeps its name in firmware.

Mask was adopted in #115 as the suffix for a group mask whose name would otherwise clash with a register, and the generators dropped it from firmware identifiers since the GM_ and MSK_ prefixes already mark a mask. This rule replaced an older one that removed Configuration.

#158 later removed all suffix trimming, Mask included, so that firmware names followed the declared mask names exactly. This pull request restores only the Mask trimming.

Closes #152

A trailing Mask is removed from group mask names in firmware output.
The C# and Python interfaces keep the declared name.

Closes harp-tech#152
@glopesdev glopesdev added the fix Pull request that fixes an issue label Nov 13, 2026
@glopesdev
glopesdev merged commit d77a584 into harp-tech:main Nov 13, 2026
9 checks passed
@glopesdev
glopesdev deleted the firmware-mask-suffix branch November 13, 2026 09:28
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.

Firmware group mask names no longer drop the Configuration suffix

1 participant