Skip to content

Help needed: Building for RTEMS #1511

@jalanh11640

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions