Skip to content

Generate named enums for ParamId, EventId, Opcode and ChannelId - #1187

Merged
bocchino merged 3 commits into
nasa:mainfrom
CoJaques:issue-1182-named-enums
Nov 12, 2026
Merged

bocchino merged 3 commits into
nasa:mainfrom
CoJaques:issue-1182-named-enums

Conversation

@CoJaques

Copy link
Copy Markdown
Contributor

Closes #1182

I named the enums ParamId, EventId, Opcode and ChannelId using wrapInNamedEnum.

I also updated the component reference files to match. All existing tests pass.

@Kronos3 Kronos3 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the patch!

@bocchino bocchino left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I updated the check-cpp scripts to sync them up with the latest F Prime. I confirmed that the check-cpp tests pass with these updates. I confirmed that FppTest passes in F Prime with the new code gen.

@bocchino
bocchino merged commit 0346fc0 into nasa:main Nov 12, 2026
14 checks passed
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.

Make PARAMID a named enum

3 participants