Skip to content

Require DP constants and enums in dictionary#729

Closed
jwest115 wants to merge 14 commits intonasa:mainfrom
jwest115:dict-require-dp-types
Closed

Require DP constants and enums in dictionary#729
jwest115 wants to merge 14 commits intonasa:mainfrom
jwest115:dict-require-dp-types

Conversation

@jwest115
Copy link
Collaborator

@jwest115 jwest115 commented Jun 3, 2025

Require that the following types are defined and output them to the dictionary:

Aliases

  • FwDpIdType
  • FwDpPriorityType
  • FwSizeStoreType
  • FwTimeBaseStoreType
  • FwTimeContextStoreType

Enums

  • Fw.DpState
  • Fw.DpCfg.ProcType

Constants

  • Fw.DpCfg.CONTAINER_USER_DATA_SIZE

Closes #719.

Spec updates are done in nasa/fprime#3692.

@jwest115 jwest115 requested a review from bocchino June 3, 2025 00:42
@jwest115 jwest115 marked this pull request as ready for review June 4, 2025 16:11
@jwest115
Copy link
Collaborator Author

jwest115 commented Jun 10, 2025

Going to update the users guide with info on the types that are required by the dictionary.

Copy link
Collaborator

@bocchino bocchino left a comment

Choose a reason for hiding this comment

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

Looks good! Can you please make the following minor changes:

  1. In Section 14.8 of the User's Guide, complete the table that I started, and remove the text that is to be moved into the table.
  2. In the fpp-to-dict tests, add a test for the case where a required constant is present, but it has a non-integer type.

@bocchino
Copy link
Collaborator

Let's hold off work on this PR until #740 is complete. Some rework will be required, but I think this PR will actually be easier once that refactoring is done.

@bocchino bocchino added the blocked Issue is blocked pending resolution of another issue label Jun 12, 2025
@jwest115
Copy link
Collaborator Author

Created new PR for this change #742

@jwest115 jwest115 closed this Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked Issue is blocked pending resolution of another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add DP types/constants to dictionary required types

2 participants