Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update demo to show member array support gds #2517

Merged
merged 5 commits into from
Feb 13, 2024

Conversation

SMorettini
Copy link
Contributor

@SMorettini SMorettini commented Feb 6, 2024

Related Issue(s)
Has Unit Tests (y/n)
Documentation Included (y/n)

Change Description

  1. Add an array member in a struct to test Add support to GDS for struct member array fprime-gds#161
  2. Fix serialization of Telemetry packets. It was not supporting struct having member arrays.

@SMorettini SMorettini changed the title Update demo to show arr memberay support gds Update demo to show member array support gds Feb 6, 2024
Copy link
Collaborator

@LeStarch LeStarch 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!

One minor comment.

@@ -31,6 +31,8 @@ module Ref {
separateChoice: Choice
@ A pair of choices
choicePair: ChoicePair
@ An array of choices defined as member array
choiceAsMemberArray: [2] U8
Copy link
Collaborator

Choose a reason for hiding this comment

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

Switch the 2 to dimension if you will. It makes it easier to modify all the array sizes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I apply your suggestion. Please note that before merging this, the related pull request in fprime-gds should be merged otherwise fprime-gds will not work as expected with the new member array.

@LeStarch LeStarch merged commit 4fc42ce into nasa:devel Feb 13, 2024
34 checks passed
@SMorettini SMorettini deleted the UpdateDemoToShowArrMemberaySupportGds branch February 13, 2024 18:31
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.

None yet

3 participants