This repository contains a simple RTEMS application.
The CMakeLists.txt targets a SPARC ERC32 BSP, as the one installed by following the official Quick Start Guide using the RSB method.
I suggest to also check all *_INSTALL_DIR, *_LIB_DIR, and *_INCLUDE_DIR to match your configuration.
git clone https://github.com/roncapat/RTEMS-5-CMake-C-11-Starter.git rtems-demo
cd rtems-demo
mkdir build
cd build
cmake ..
make