Skip to content

Help needed: Building for RTEMS #925

Closed

Description

@jalanh11640

I'm trying to build the OSAL for RTEMS and it seems like there's a piece of the cmake system that isn't part of the repo I've checked out. Here's the steps I've taken:

git clone https://github.com/nasa/osal.git

I've created an osal/cmake/toolchain-rtems.cmake file with information about my RTEMS setup.

I run cmake -DOSAL_SYSTEM_BSPTYPE=generic-rtems -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-rtems.cmake .. and I get the following.

-- BSP Selection: generic-rtems at //home/jeff/osal/src/bsp/generic-rtems
CMake Error at src/bsp/generic-rtems/CMakeLists.txt:81 (generate_config_includefile):
  Unknown CMake command "generate_config_includefile".


-- Configuring incomplete, errors occurred!
See also "//home/jeff/osal/build/CMakeFiles/CMakeOutput.log".
See also "//home/jeff/osal/build/CMakeFiles/CMakeError.log".

looking in the nasa/cFS repo I see generate_config_includefile defined in cFE/cmake/global_functions.cmake

Am I misconfiguring something that us causing generate_config_includefile to be called when it shouldn't be?

I'm building on a linux machinee.

Thanks for any help!

Activity

  1. transferred this issue fromnasa/osalon Feb 26, 2026
  2. locked and limited conversation to collaborators on Feb 26, 2026
  3. converted this issue into a discussion #926 on Feb 26, 2026
  4. added this to the v7.0.1 milestone on Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions