eive-obsw/fsfwconfig/OBSWConfig.h

53 lines
1.2 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>
#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
2020-09-30 17:17:01 +02:00
#define TE0720 0
2021-01-23 17:22:40 +01:00
2021-02-12 14:18:34 +01:00
#define P60DOCK_DEBUG 0
2021-02-12 10:20:39 +01:00
#define PDU1_DEBUG 0
#define PDU2_DEBUG 0
2021-02-25 18:15:57 +01:00
#define ACU_DEBUG 0
2021-03-22 12:47:45 +01:00
#define SYRLINKS_DEBUG 0
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 20:37:17 +01:00
/* Can be used for low-level debugging of the SPI bus */
2021-03-07 14:06:29 +01:00
#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_ */