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-03-05 12:57:42 +01:00
|
|
|
#ifdef RASPBERRY_PI
|
|
|
|
#include <rpi_config.h>
|
2021-04-02 15:14:08 +02:00
|
|
|
#elif defined(XIPHOS_Q7S)
|
|
|
|
#include <q7s_config.h>
|
2021-03-05 12:57:42 +01:00
|
|
|
#endif
|
|
|
|
#include "commonConfig.h"
|
|
|
|
#include "OBSWVersion.h"
|
2020-09-30 17:17:01 +02:00
|
|
|
|
2021-02-14 13:07:05 +01:00
|
|
|
/* These defines should be disabled for mission code but are useful for
|
|
|
|
debugging. */
|
2021-03-05 12:57:42 +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-04-27 17:34:50 +02:00
|
|
|
#define TE0720 1
|
|
|
|
#define TE0720_HEATER_TEST 0
|
2021-01-23 17:22:40 +01:00
|
|
|
|
2021-04-01 17:19:12 +02:00
|
|
|
#define P60DOCK_DEBUG 0
|
|
|
|
#define PDU1_DEBUG 0
|
|
|
|
#define PDU2_DEBUG 0
|
|
|
|
#define ACU_DEBUG 0
|
|
|
|
#define SYRLINKS_DEBUG 0
|
2021-04-25 00:06:04 +02:00
|
|
|
#define IMQT_DEBUG 1
|
2021-02-06 11:57:45 +01:00
|
|
|
|
2020-12-29 01:09:59 +01:00
|
|
|
#include "OBSWVersion.h"
|
|
|
|
|
2021-03-07 14:06:29 +01:00
|
|
|
/* Can be used to switch device to NORMAL mode immediately */
|
|
|
|
#define OBSW_SWITCH_TO_NORMAL_MODE_AFTER_STARTUP 1
|
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_ */
|