-
Hello folks, my team and I are relatively new to using cfs. Is there a way to develop a lib that depends on cFS and can later be linked to a cFS app without recompiling the lib? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Depending on what you mean by "linked to a cFS app", maybe? Note cFS libs and apps aren't actually "linked" in the classical compiler linking sense. You can build libs and apps separately, and they get loaded dynamically separately by ES either at startup as elements from the startup script, or an app can be loaded later via command (note libs can only be loaded at startup and can't be unloaded). To test and develop separately you'll still need the lib API's defined in a header the app can include and you'll likely want to implement the unit test stubs for the lib to work with. After that it could be fairly independent. |
Beta Was this translation helpful? Give feedback.
Depending on what you mean by "linked to a cFS app", maybe?
Note cFS libs and apps aren't actually "linked" in the classical compiler linking sense. You can build libs and apps separately, and they get loaded dynamically separately by ES either at startup as elements from the startup script, or an app can be loaded later via command (note libs can only be loaded at startup and can't be unloaded).
To test and develop separately you'll still need the lib API's defined in a header the app can include and you'll likely want to implement the unit test stubs for the lib to work with. After that it could be fairly independent.