<div dir="ltr"><div>Hello,</div><div><br></div><div>I was wondering whether CMake support or an example is available or will be added in the future. We are using a framework which has different abstraction layers for OSes like (embedded) Linux, RTEMS and FreeRTOS, but we would like to use the same build system to build applications and right now CMake is our favourite because other tools like the Catch2 test framework are also built with CMake and there is a lot more documentation available for CMake.<br></div><div><br></div><div>I set up a blinky example for a STM32 Nucleo board and had a look at the raw commands used to build the application and I have not seen anything special that requires waf explicitly.</div><div><br></div><div>I was hoping that I could also build the same application with CMake, eg. with the following command sequence (with RTEMS_INST being the location where RTEMS was installed)<br></div><div><br></div><div>mkdir build<br></div><div>cd build<br></div><div>cmake .. -D -DOS_FSFW=rtems -DRTEMS_INST=$RTEMS_INST <br></div><div>cmake --build .</div><div><br></div><div>I also had another question about a specific flag used when linking RTEMS executables.<br></div><div>The link command for the example application is the following:<br></div><div><br></div><div>arm-rtems6-gcc -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -I=$RTEMS_INST/arm-rtems6/stm32h7/lib/include -MMD -B$RTEMS_INST/arm-rtems6/stm32h7/lib -Wl,--gc-sections init.c.1.o led.c.1.o stm32h7xx_nucleo.c.1.o -o blinky-test.elf -Wl,-Bstatic -Wl,-Bdynamic -qrtems</div><div><br></div><div>Can anyone tell me the meaning of the -q flag? I did not find anything by running arm-rtems6-gcc --help</div><div><br></div><div>Kind Regards</div><div>Robin<br></div><div><br></div><div><br></div></div>