eive-obsw/linux/fsfwconfig/OBSWConfig.h.in

80 lines
2.4 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
2021-06-08 17:04:28 +02:00
#include "rpiConfig.h"
#elif defined(XIPHOS_Q7S)
2021-06-08 17:04:28 +02:00
#include "q7sConfig.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
2021-05-24 01:20:44 +02:00
#define OBSW_ADD_TEST_PST 1
2021-06-25 15:25:54 +02:00
#define OBSW_ADD_GPS 0
#define OBSW_ADD_STAR_TRACKER 0
2021-05-24 01:20:44 +02:00
#define TEST_LIBGPIOD 0
2021-05-16 19:22:04 +02:00
#define TEST_RADIATION_SENSOR_HANDLER 0
#define TEST_SUS_HANDLER 0
#define TEST_PLOC_HANDLER 0
2021-05-27 15:24:19 +02:00
#define TEST_CCSDS_BRIDGE 0
2021-05-27 19:05:08 +02:00
#define PERFORM_PTME_TEST 0
#define ADD_PLOC_SUPERVISOR 1
2021-07-22 08:06:04 +02:00
#define ADD_PLOC_MPSOC 0
2021-07-19 12:44:43 +02:00
#define BOARD_TE0720 0
2021-05-24 20:33:59 +02:00
#define TE0720_HEATER_TEST 0
#define P60DOCK_DEBUG 0
#define PDU1_DEBUG 0
#define PDU2_DEBUG 0
#define ACU_DEBUG 0
#define SYRLINKS_DEBUG 0
#define IMQT_DEBUG 0
2021-05-25 13:53:03 +02:00
#define ADIS16507_DEBUG 1
#define L3GD20_GYRO_DEBUG 0
2021-07-22 08:06:04 +02:00
#define DEBUG_RAD_SENSOR 0
2021-05-24 20:33:59 +02:00
#define DEBUG_SUS 1
#define DEBUG_RTD 1
2021-06-04 16:45:54 +02:00
#define IMTQ_DEBUG 1
2021-07-07 12:12:01 +02:00
#define RW_DEBUG 0
#define START_TRACKER_DEBUG 0
2021-07-23 18:04:51 +02:00
#define PLOC_MPSOC_DEBUG 0
2021-07-22 08:06:04 +02:00
#define PLOC_SUPERVISOR_DEBUG 1
2021-05-24 20:33:59 +02:00
// Leave at one as the BSP is linux. Used by the ADIS16507 device handler
#define OBSW_ADIS16507_LINUX_COM_IF 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 */
static constexpr uint32_t OBSW_FILESYSTEM_HANDLER_QUEUE_SIZE = 50;
2020-12-29 01:09:59 +01:00
#ifdef __cplusplus
}
#endif
2020-11-20 18:10:39 +01:00
#endif /* FSFWCONFIG_OBSWCONFIG_H_ */