Closed dmitri-mcguckin closed 1 year ago
This issue is documented here: https://github.com/nasa/fprime/discussions/1733. We have pushed a fix to the devel branch.
Sounds great. Is there any ETA when we can expect the next release with the fix?
Bug fixed on the FPP side. Closing.
Problem Description
When establishing a parameter on my custom component of type string, I do it like so:
Then upon running
fprime-util build
The tool crashes with the following error:
When manually inspecting
./CGSClient/build-fprime-automatic-native/CGSClient/PDU/PDUComponentAi.xml
line 143, I can clearly see that any quotes surround a string in an *.fpp file are included as part of a string-literal in the generated XML.This is the line in question:
Specifically drawing attention to
Which if I manually adjust to:
It all works like a charm.
How to Reproduce
param TN_HOST : string default "localhost"
fprime-util build
Expected Behavior
I expect the generated XML to only contain one-pair of strings surrounding the default field instead of two.