Closed kbotteon closed 7 months ago
I think this is a check that should be performed as part of FPP, rather than through fprime-util and/or cmake. @bocchino do you have any input here?
This looks like a regression in FPP introduced in this commit:
https://github.com/fprime-community/fpp/commit/49df57f8304a713fc5f565ee6b08564ea2cf98d7
We removed the queue size check by accident when revising the stack size and priority checks.
The spec and User's Guide both say the right thing (queue size is required). We just need to undo the regressive change to the compiler.
fprime-util build
Problem Description
If the
queue size
property of an Active Component is mistakenly omitted from thefpp
file, the autocoder will happily proceed, and then the compile stage will fail with:It is a non-obvious that the
fpp
file is the source of the problem, with the only hint being that the error occurs in an autocoded file.Context / Environment
Execute
fprime-util version-check
and share the output.However, the
fprime-util -h
command reportsfprime-util (3.4.0)
How to Reproduce
queue size
propertyfprime-util build
Expected Behavior
fprime-util
should complain about an invalid FPP file before the build process gets to the compile stage.