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

Support RTEMS 6, Gaisler RCC, and Dynamically loaded cFE build in RTEMS.cmake platform file #338

Closed
ghost opened this issue Apr 27, 2022 · 0 comments · Fixed by #339 or #343
Closed
Milestone

Comments

@ghost
Copy link

ghost commented Apr 27, 2022

Is your feature request related to a problem? Please describe.
A few minor modifications to the RTEMS.cmake platform file are needed to support RTEMS 6, Gaisler RCC (RTEMS 5), and Dynamically loaded cFE core builds.

Describe the solution you'd like
Modify cmake/Modules/Platform/RTEMS.cmake to add:
RTEMS_DYNAMIC_LOAD variable to select how the CMAKE executable rule is defined
Add a RTEMS_BSP_SPECS_FLAGS variable in the RTEMS_SYS_SPECS_FLAGS define to allow of toolchain file customizations.
This will allow existing RTEMS 4.11 and RTEMS 5 pc-rtems platforms to still build, while enabling RTEMS 6, RCC, and other RTEMS platforms.

Describe alternatives you've considered
The alternative here would be to use separate Cmake platform files, which creates more Cmake files to maintain and makes it more confusing to setup a new RTEMS target.

Additional context
Depends on the following cFE issue for minor toolchain file updates:
nasa/cFE#2096

Requester Info
Alan Cudmore, NASA/GSFC Code 582.0

@ghost ghost added the dependency label May 4, 2022
astrogeco added a commit that referenced this issue May 18, 2022
…form-file

Fix #338, Update RTEMS CMake Platform File
@dmknutsen dmknutsen added this to the Draco milestone Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant