Skip to content

Commit ae09e36

Browse files
committed
readme update
1 parent dbcc3fc commit ae09e36

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ This repostiory contains the first version of a possible RTEMS CMake build auppo
77
Include the `RTEMSGeneric.cmake` file in CMake and call the `rtems_generic_config` function, passing the RTEMS installation path (also commonly called prefix)
88
and the RTEMS BSP (e.g. sparc/erc32) to this function.
99

10+
## Extending the build system support
11+
12+
This is still a prototype. It has been tested for the Hello World demo from the RTEMS quick start guide which uses the `sparc/erc32` BSP and for a STM32 blinky using the `arm/stm32h7` BSP.
13+
14+
Extending the build support is relatively easy:
15+
16+
Extract the necessary compiler and linker flags for the RTEMS build from the pkgconfig file
17+
for the specific BSP. This file will generally be located inside the `lib/pkgconfig` folder of the RTEMS tools folder. Add these flags in the `RTEMSHardware.cmake` file for your specific BSP.
18+
19+
When building with CMake, `-v` can be added to verify the flags.
20+
1021
## Example
1122

1223
See https://github.com/rmspacefish/rtems-demo/tree/master/applications/hello for an example. This is the Hello World project taken from the RTEMS quick start guide,

0 commit comments

Comments
 (0)