eive-obsw/fsfwconfig/OBSWConfig.h

48 lines
1.1 KiB
C
Raw Normal View History

2020-09-30 17:17:01 +02:00
/**
* @brief This file can be used to add preprocessor define for conditional
* code inclusion exclusion or various other project constants and
* properties in one place.
*/
2020-11-20 18:10:39 +01:00
#ifndef FSFWCONFIG_OBSWCONFIG_H_
#define FSFWCONFIG_OBSWCONFIG_H_
2020-09-30 17:17:01 +02:00
2021-02-22 12:57:41 +01:00
#ifdef RASPBERRY_PI
#include <rpi_config.h>
#endif
#include "commonConfig.h"
2021-02-22 12:57:41 +01:00
#include "OBSWVersion.h"
2021-02-14 13:07:05 +01:00
/* These defines should be disabled for mission code but are useful for
debugging. */
2021-02-22 18:46:45 +01:00
#define OBSW_VERBOSE_LEVEL 1
#define OBSW_PRINT_MISSED_DEADLINES 1
#define OBSW_ADD_TEST_CODE 1
#define TEST_LIBGPIOD 0
2020-09-30 17:17:01 +02:00
2021-02-22 18:46:45 +01:00
#define TE0720 0
2021-01-23 17:22:40 +01:00
2021-02-22 18:46:45 +01:00
#define P60DOCK_DEBUG 0
#define PDU1_DEBUG 0
#define PDU2_DEBUG 0
#define ACU_DEBUG 1
2021-02-06 11:57:45 +01:00
2021-03-06 20:37:17 +01:00
/* Can be used for low-level debugging of the SPI bus */
#define FSFW_LINUX_SPI_WIRETAPPING 0
2021-03-06 18:12:50 +01:00
2020-12-29 01:09:59 +01:00
#ifdef __cplusplus
#include "objects/systemObjectList.h"
#include "events/subsystemIdRanges.h"
#include "returnvalues/classIds.h"
namespace config {
#endif
/* Add mission configuration flags here */
#ifdef __cplusplus
}
#endif
2020-11-20 18:10:39 +01:00
#endif /* FSFWCONFIG_OBSWCONFIG_H_ */