nasa / PSP

The Core Flight System (cFS) Platform Support Package (PSP)
Apache License 2.0
66 stars 56 forks source link

Fix #426, conditional module inclusion #427

Closed jphickey closed 6 months ago

jphickey commented 6 months ago

Checklist (Please check before submitting)

Describe the contribution Add a cmake file that extends the PSP_TARGET_MODULE_LIST conditionally. Initially, this can check for a minimum target system version and only include modules that are known to work on that version. This can be used to make the RTEMS 4.11 build work again.

Fixes #426

Testing performed Build on RTEMS 4.11 and RTEMS 5

Expected behavior changes RTEMS 5 build is not changed - still includes rtems_sysmon module RTEMS 4.11 build succeeds - but does NOT include rtems_sysmon module

System(s) tested on Debian with RTEMS 4.11 and RTEMS 5 toolchains

Contributor Info - All information REQUIRED for consideration of pull request Joseph Hickey, Vantage Systems, Inc.