From 56f45e3fb16f783e437cd8ee7ab1297aab5b6a86 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 29 Dec 2020 14:37:39 +0100 Subject: [PATCH] include fix --- CMakeLists.txt | 1 + bsp_hosted/InitMission.cpp | 9 ++--- .../fsfwconfig/events/subsystemIdRanges.h | 2 +- .../Host/eive-mingw-release-cmake.launch | 33 +++++++++++++++++++ mission/core/GenericFactory.cpp | 2 +- 5 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 misc/eclipse/Host/eive-mingw-release-cmake.launch diff --git a/CMakeLists.txt b/CMakeLists.txt index 1be2bbdc..1786f1af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,6 +59,7 @@ if(TGT_BSP) set(ADD_CSP_LIB TRUE) endif() else() + # Required by FSFW library set(FSFW_CONFIG_PATH "${BSP_PATH}/fsfwconfig") endif() diff --git a/bsp_hosted/InitMission.cpp b/bsp_hosted/InitMission.cpp index d4e58b99..39dcafff 100644 --- a/bsp_hosted/InitMission.cpp +++ b/bsp_hosted/InitMission.cpp @@ -1,5 +1,8 @@ -#include -#include +#include "InitMission.h" +#include "ObjectFactory.h" + +#include + #include #include #include @@ -7,8 +10,6 @@ #include #include #include -#include -#include #include diff --git a/bsp_hosted/fsfwconfig/events/subsystemIdRanges.h b/bsp_hosted/fsfwconfig/events/subsystemIdRanges.h index 1128b26b..51534f60 100644 --- a/bsp_hosted/fsfwconfig/events/subsystemIdRanges.h +++ b/bsp_hosted/fsfwconfig/events/subsystemIdRanges.h @@ -10,7 +10,7 @@ */ namespace SUBSYSTEM_ID { enum: uint8_t { - SUBSYSTE_ID_START = FW_SUBSYSTEM_ID_RANGE, + SUBSYSTEM_ID_START = FW_SUBSYSTEM_ID_RANGE, PUS_SERVICE_2, PUS_SERVICE_3, PUS_SERVICE_5, diff --git a/misc/eclipse/Host/eive-mingw-release-cmake.launch b/misc/eclipse/Host/eive-mingw-release-cmake.launch new file mode 100644 index 00000000..0a5fbd71 --- /dev/null +++ b/misc/eclipse/Host/eive-mingw-release-cmake.launch @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mission/core/GenericFactory.cpp b/mission/core/GenericFactory.cpp index b708f964..e0e857da 100644 --- a/mission/core/GenericFactory.cpp +++ b/mission/core/GenericFactory.cpp @@ -1,6 +1,6 @@ #include "GenericFactory.h" -#include +#include #include #include