2021-07-12 21:50:48 +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.
|
|
|
|
*/
|
|
|
|
#ifndef FSFWCONFIG_OBSWCONFIG_H_
|
|
|
|
#define FSFWCONFIG_OBSWCONFIG_H_
|
|
|
|
|
2021-07-12 23:33:05 +02:00
|
|
|
// Specify whether lwIP components are added. TMTC commanding is not possible without them
|
|
|
|
#define OBSW_ADD_LWIP_COMPONENTS 1
|
|
|
|
|
|
|
|
// Specify whether TMTC commanding via Ethernet is possible
|
2021-07-12 21:50:48 +02:00
|
|
|
#define OBSW_ETHERNET_TMTC_COMMANDING 1
|
2021-07-12 23:33:05 +02:00
|
|
|
|
|
|
|
// Only applies if TMTC commanding is enabled.
|
|
|
|
// Specify whether LEDs are used to display Ethernet connection status.
|
2021-07-12 21:50:48 +02:00
|
|
|
#define OBSW_ETHERNET_USE_LED1_LED2 0
|
|
|
|
|
|
|
|
#define OBSW_ATTEMPT_DHCP_CONN 1
|
|
|
|
|
|
|
|
#if OBSW_ATTEMPT_DHCP_CONN == 0
|
|
|
|
#define MAX_DHCP_TRIES 0
|
|
|
|
#else
|
|
|
|
#define MAX_DHCP_TRIES 3
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
|
|
|
#include "events/subsystemIdRanges.h"
|
|
|
|
#include "objects/systemObjectList.h"
|
2021-07-12 23:33:05 +02:00
|
|
|
#include "commonConfig.h"
|
2021-07-12 21:50:48 +02:00
|
|
|
|
|
|
|
namespace config {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Add mission configuration flags here */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* FSFWCONFIG_OBSWCONFIG_H_ */
|