eive-obsw/fsfwconfig/OBSWConfig.h

61 lines
1.6 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
#ifdef RASPBERRY_PI
#include <rpi_config.h>
#elif defined(XIPHOS_Q7S)
#include <q7s_config.h>
#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. */
#define OBSW_VERBOSE_LEVEL 1
#define OBSW_PRINT_MISSED_DEADLINES 1
#define OBSW_ADD_TEST_CODE 1
#define TEST_LIBGPIOD 0
2021-05-16 19:22:04 +02:00
#define TEST_RADIATION_SENSOR_HANDLER 0
#define TEST_SUS_HANDLER 1
#define TEST_PLOC_HANDLER 0
2021-05-16 19:22:04 +02:00
#define TEST_CCSDS_BRIDGE 1
2021-05-16 19:22:04 +02:00
#define TE0720 1
2021-04-27 17:34:50 +02:00
#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-05-02 13:48:39 +02:00
#define IMQT_DEBUG 0
2021-05-03 11:59:33 +02:00
#define DEBUG_RAD_SENSOR 1
#define DEBUG_SUS 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_ */