From 9d73304c42ddc34e554032da2f8194e0e59ddc4c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 30 Oct 2020 13:30:33 +0100 Subject: [PATCH] more config fixes --- config/returnvalues/classIds.h | 9 ++------- hosted/config/FSFWConfig.h | 2 +- hosted/config/returnvalues/classIds.h | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 hosted/config/returnvalues/classIds.h diff --git a/config/returnvalues/classIds.h b/config/returnvalues/classIds.h index 3fe99a7d..f6427a1f 100644 --- a/config/returnvalues/classIds.h +++ b/config/returnvalues/classIds.h @@ -1,13 +1,8 @@ -/* - * classIds.h - * - * Created on: 16.07.2018 - * Author: mohr - */ - #ifndef CONFIG_RETURNVALUES_CLASSIDS_H_ #define CONFIG_RETURNVALUES_CLASSIDS_H_ +#include + /** * Source IDs starts at 73 for now * Framework IDs for ReturnValues run from 0 to 56 diff --git a/hosted/config/FSFWConfig.h b/hosted/config/FSFWConfig.h index df4075bd..e7c1175c 100644 --- a/hosted/config/FSFWConfig.h +++ b/hosted/config/FSFWConfig.h @@ -3,7 +3,7 @@ //! When using the newlib nano library, C99 support for stdio facilities //! will not be provided. This define should be set to 1 if this is the case. -#define FSFW_NO_C99_IO 0 +#define FSFW_NO_C99_IO 1 #endif /* CONFIG_FSFWCONFIG_H_ */ diff --git a/hosted/config/returnvalues/classIds.h b/hosted/config/returnvalues/classIds.h new file mode 100644 index 00000000..f6427a1f --- /dev/null +++ b/hosted/config/returnvalues/classIds.h @@ -0,0 +1,19 @@ +#ifndef CONFIG_RETURNVALUES_CLASSIDS_H_ +#define CONFIG_RETURNVALUES_CLASSIDS_H_ + +#include + +/** + * Source IDs starts at 73 for now + * Framework IDs for ReturnValues run from 0 to 56 + * and are located inside + */ +namespace CLASS_ID { +enum { + MISSION_CLASS_ID_START = FW_CLASS_ID_COUNT, + MGM_LIS3MDL +}; +} + + +#endif /* CONFIG_RETURNVALUES_CLASSIDS_H_ */