optional module handling complete

This commit is contained in:
2021-07-19 18:26:54 +02:00
parent d47906e833
commit d4f5c31881
55 changed files with 207 additions and 54 deletions

View File

@ -1,6 +1,7 @@
#ifndef FSFW_RMAP_RMAP_H_
#define FSFW_RMAP_RMAP_H_
#include "rmapConf.h"
#include "fsfw/returnvalues/HasReturnvaluesIF.h"
#include "fsfw/rmap/RMAPCookie.h"

View File

@ -1,8 +1,9 @@
#ifndef FSFW_RMAP_RMAPCHANNELIF_H_
#define FSFW_RMAP_RMAPCHANNELIF_H_
#include "rmapConf.h"
#include "RMAPCookie.h"
#include "../returnvalues/HasReturnvaluesIF.h"
#include "fsfw/returnvalues/HasReturnvaluesIF.h"
#include <cstddef>
class RMAPChannelIF {

View File

@ -1,6 +1,7 @@
#ifndef FSFW_RMAP_RMAPCOOKIE_H_
#define FSFW_RMAP_RMAPCOOKIE_H_
#include "rmapConf.h"
#include "rmapStructs.h"
#include "fsfw/devicehandlers/CookieIF.h"
#include <cstddef>

View File

@ -1,6 +1,7 @@
#ifndef FSFW_RMAP_RMAPDEVICECOMMUNICATIONINTERFACE_H_
#define FSFW_RMAP_RMAPDEVICECOMMUNICATIONINTERFACE_H_
#include "rmapConf.h"
#include "fsfw/devicehandlers/DeviceCommunicationIF.h"
/**

10
src/fsfw/rmap/rmapConf.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef FSFW_SRC_FSFW_RMAP_RAMCONF_H_
#define FSFW_SRC_FSFW_RMAP_RAMCONF_H_
#include "fsfw/FSFW.h"
#ifndef FSFW_ADD_RMAP
#warning RMAP was included but compilation was not enabled with FSFW_ADD_RMAP
#endif
#endif /* FSFW_SRC_FSFW_RMAP_RAMCONF_H_ */

View File

@ -1,6 +1,8 @@
#ifndef FSFW_RMAP_RMAPSTRUCTS_H_
#define FSFW_RMAP_RMAPSTRUCTS_H_
#include "rmapConf.h"
#include <cstdint>
//SHOULDDO: having the defines within a namespace would be nice. Problem are the defines referencing the previous define, eg RMAP_COMMAND_WRITE