fsfw/unittest/testcfg/FSFWConfig.h

45 lines
1.5 KiB
C
Raw Normal View History

2020-10-20 17:12:56 +02:00
#ifndef CONFIG_FSFWCONFIG_H_
#define CONFIG_FSFWCONFIG_H_
2020-10-29 11:59:50 +01:00
#include <FSFWVersion.h>
2020-10-20 17:12:56 +02:00
//! Used to determine whether C++ ostreams are used
//! Those can lead to code bloat.
#define FSFW_CPP_OSTREAM_ENABLED 1
//! Reduced printout to further decrese code size
//! Be careful, this also turns off most diagnostic prinouts!
#define FSFW_REDUCED_PRINTOUT 0
2020-10-29 11:59:50 +01:00
//! Can be used to enable debugging printouts for developing the FSFW
#define FSFW_DEBUGGING 0
2020-10-29 11:59:50 +01:00
2020-10-20 17:21:20 +02:00
//! Defines the FIFO depth of each commanding service base which
//! also determines how many commands a CSB service can handle in one cycle
//! simulataneously. This will increase the required RAM for
//! each CSB service !
#define FSFW_CSB_FIFO_DEPTH 6
2020-10-29 12:07:48 +01:00
//! If FSFW_OBJ_EVENT_TRANSLATION is set to one,
//! additional output which requires the translation files translateObjects
//! and translateEvents (and their compiled source files)
2020-10-29 11:59:50 +01:00
#define FSFW_OBJ_EVENT_TRANSLATION 0
2020-10-20 17:12:56 +02:00
//! If -DDEBUG is supplied in the build defines, there will be
//! additional output which requires the translation files translateObjects
//! and translateEvents (and their compiles source files)
2020-10-29 11:59:50 +01:00
#if FSFW_OBJ_EVENT_TRANSLATION == 1
2020-10-20 17:12:56 +02:00
//! Specify whether info events are printed too.
2020-12-14 20:58:20 +01:00
#define FSFW_DEBUG_INFO 1
2020-10-20 17:12:56 +02:00
#include <translateObjects.h>
#include <translateEvents.h>
#else
#endif
//! 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.
2020-10-29 11:59:50 +01:00
#define FSFW_NO_C99_IO 1
2020-10-20 17:12:56 +02:00
#endif /* CONFIG_FSFWCONFIG_H_ */