mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 01:55:59 +00:00
Merge pull request 'Add files to CMakeLists' (#34) from cmake into main
Reviewed-on: https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils/pulls/34 Reviewed-by: dario <dario@noreply.git.intern.spaceteamaachen.de>
This commit is contained in:
commit
17b5566e2c
22
CMakeLists.txt
Normal file
22
CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
|
set(RTOS2_UTILS_SOURCES
|
||||||
|
src/mutex.cpp
|
||||||
|
src/thread.cpp
|
||||||
|
src/timer.cpp
|
||||||
|
src/system/can_bus.cpp
|
||||||
|
src/signal.cpp
|
||||||
|
src/heap_useNewlib_ST.c
|
||||||
|
src/event.cpp
|
||||||
|
src/debug/heap_stats.cpp
|
||||||
|
src/debug/stack_overflow.cpp
|
||||||
|
src/debug/runtime_stats.c
|
||||||
|
)
|
||||||
|
list(TRANSFORM RTOS2_UTILS_SOURCES PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/")
|
||||||
|
|
||||||
|
# Define includes
|
||||||
|
set(RTOS2_UTILS_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||||
|
|
||||||
|
# Propagate to the parent scope
|
||||||
|
set(RTOS2_UTILS_SOURCES ${RTOS2_UTILS_SOURCES} PARENT_SCOPE)
|
||||||
|
set(RTOS2_UTILS_INCLUDES ${RTOS2_UTILS_INCLUDES} PARENT_SCOPE)
|
@ -11,9 +11,8 @@
|
|||||||
#include <sta/bus/can/subscribable.hpp>
|
#include <sta/bus/can/subscribable.hpp>
|
||||||
#include <sta/lang.hpp>
|
#include <sta/lang.hpp>
|
||||||
#include <sta/rtos/defs.hpp>
|
#include <sta/rtos/defs.hpp>
|
||||||
#include <sta/rtos/system/events.hpp>
|
#include <sta/rtos/event.hpp>
|
||||||
#include <sta/devices/stm32/hal.hpp>
|
#include <sta/devices/stm32/hal.hpp>
|
||||||
#include <sta/rtos/system/events.hpp>
|
|
||||||
#include <sta/rtos/system/can_bus.hpp>
|
#include <sta/rtos/system/can_bus.hpp>
|
||||||
|
|
||||||
#include <cmsis_os2.h>
|
#include <cmsis_os2.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user