Commit 7f49ec2
committed
cmake: Leverage FreeRTOS's CMake Support
FreeRTOS-Kernel added CMake support in cdd406a62f31f. This commit
utilizes the CMake support for the demo app.
Note that CMAKE_CURRENT_SOURCE_DIR is specified for freertos_config as
SYSTEM because I want to ensure that all source and header files find
FreeRTOSConfig.h.
It still targets the POSIX port. If you intend to build it for another
PORT, you will need a toolchain file for your target (and probably a libc
to go along with it).
Ref:
- FreeRTOS/FreeRTOS-Kernel#421
- https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html
Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>1 parent 297e733 commit 7f49ec2
1 file changed
+17
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments