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

Fixed bugs found while compiling for baremetal. #1462

Conversation

kevin-f-ortega
Copy link
Collaborator

@kevin-f-ortega kevin-f-ortega commented May 17, 2022

Originating Project/Creator @kevin-f-ortega
Affected Component Autocoder, PolyType, and BufferLogger
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

Discovered a lack of operator= for enum in Autocoder's template files.
A mismatch in function definition with its prototype in BufferLogger.
An invalid casting in PolyType

Rationale

Fixes bugs found while compiling for baremetal

Testing/Review Recommendations

Re-run the UTs on your side.

Future Work

… the operator=. Updating the expected line numbers to match where the asserts are now.
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 to me

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 overall. Please address comments.

@kevin-f-ortega kevin-f-ortega requested a review from bocchino May 23, 2022 19:10
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, just one comment.

@kevin-f-ortega kevin-f-ortega requested a review from bocchino May 24, 2022 04:11
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!

@kevin-f-ortega kevin-f-ortega merged commit 8d5a182 into nasa:devel May 24, 2022
@kevin-f-ortega kevin-f-ortega deleted the ortega/fprime-fixes-found-from-baremetal branch May 24, 2022 20:20
LeStarch pushed a commit that referenced this pull request Jun 29, 2022
* Fixed bugs found while compiling for baremetal.

* line number in which assert occurs has changed due to the addition of the operator=. Updating the expected line numbers to match where the asserts are now.

* addressing pr comments.

* updated line numbers in unit test to match what is auto generated.

* fixed comment
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.

3 participants