Skip to content

Conversation

@Brian-Campuzano
Copy link
Collaborator

Closes #640
Closes #643

…so implmented the external paramGet_* function
@Brian-Campuzano
Copy link
Collaborator Author

@bocchino I have addressed all comments and this PR is ready to be merged.

@bocchino bocchino self-requested a review April 29, 2025 00:25
@bocchino
Copy link
Collaborator

Looks good so far! When running check-cpp against nasa/fprime/devel, I get this error:

In file included from ActiveExternalParamsComponentAc.cpp:12:
../base/ActiveExternalParamsComponentAc.hpp:27:10: fatal error: 'Fw/Prm/PrmExternalTypes.hpp' file not found
   27 | #include "Fw/Prm/PrmExternalTypes.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Is there another branch of fprime to use to run check-cpp?

@bocchino
Copy link
Collaborator

bocchino commented Apr 29, 2025

Or possibly is a file not checked in to fprime/Fw/Prm in the fpp-to-cpp test area?

@Brian-Campuzano
Copy link
Collaborator Author

@bocchino
Copy link
Collaborator

@bocchino my fprime changes are staged on https://github.com/Brian-Campuzano/fprime/tree/extern_params

Got it, thanks!

Ensure that variables are initialized
Silence compiler warnings on clang
Rename variables
Rename variables; add static casts
Rename variables
Rename variables
Add static casts
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 great! I did a little refactoring in the Scala and the generated code.

@bocchino bocchino merged commit 69dadf8 into feature/external-params Apr 30, 2025
@bocchino bocchino deleted the extern_params_codegen branch April 30, 2025 00:03
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