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

Adding phase configure to manual cookiecutter. nasa/fprime#2820 #212

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

LeStarch
Copy link
Collaborator

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

Change Description

Fixes #2820.

@LeStarch LeStarch requested a review from thomas-bc July 29, 2024 16:43
@@ -143,6 +143,8 @@ void setupTopology(const TopologyState& state) {
setBaseIds();
// Autocoded connection wiring. Function provided by autocoder.
connectComponents();
// Autocoded configuration. Function provided by autocoder.
configComponents(state);
Copy link
Contributor

Choose a reason for hiding this comment

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

@LeStarch this has been fixed in https://github.com/nasa/fprime-tools/pull/206/files already

Should the call be made before configureTopology() ? In which case it should be removed line 153 (further below)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I believe so. The phase code cannot, by definition, know or care what the hand config does. As such, I assumed it was safest to place this first.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@thomas-bc fixed! What was the reason to place this after register commands?

@thomas-bc thomas-bc merged commit af2a312 into nasa:devel Jul 31, 2024
29 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.

2 participants