2022-03-25 12:44:43 +01:00
|
|
|
#ifndef COMMON_CONFIG_DEFINITIONS_H_
|
|
|
|
#define COMMON_CONFIG_DEFINITIONS_H_
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
namespace config {
|
|
|
|
|
2022-03-25 18:39:21 +01:00
|
|
|
static constexpr uint32_t PL_PCDU_TRANSITION_TIMEOUT_MS = 20 * 60 * 1000;
|
|
|
|
static constexpr uint32_t LONGEST_MODE_TIMEOUT_SECONDS = PL_PCDU_TRANSITION_TIMEOUT_MS / 1000;
|
|
|
|
|
2022-03-26 13:54:05 +01:00
|
|
|
/* Add mission configuration flags here */
|
|
|
|
static constexpr uint32_t OBSW_FILESYSTEM_HANDLER_QUEUE_SIZE = 50;
|
|
|
|
static constexpr uint32_t PLOC_UPDATER_QUEUE_SIZE = 50;
|
|
|
|
static constexpr uint32_t STR_IMG_HELPER_QUEUE_SIZE = 50;
|
|
|
|
|
|
|
|
static constexpr uint8_t LIVE_TM = 0;
|
|
|
|
|
2022-03-27 10:44:32 +02:00
|
|
|
/* Limits for filename and path checks */
|
|
|
|
static constexpr uint32_t MAX_PATH_SIZE = 100;
|
|
|
|
static constexpr uint32_t MAX_FILENAME_SIZE = 50;
|
|
|
|
|
2022-03-25 12:44:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* COMMON_CONFIG_DEFINITIONS_H_ */
|