21 #include "../../../src/ISComm.h" 22 #include "../../../src/data_sets.h" 23 #include "../../../src/ISConstants.h" 24 #include "../../../hw-libs/misc/bootloaderShared.h" 25 #include "../../../hw-libs/misc/rtos.h" 26 #include "../../../hw-libs/drivers/d_usartDMA.h" 30 #define USE_RTC_DATE_TIME 1 // Use RTC for system data and time 32 #define STREAM_INS_FOR_TIME_SYNC 1 33 #define SKI_BOX_STATUS_LED_PIN GPIO_10_PIN 34 #define UBLOX_LOG_ENABLE 0 38 uint32_t
year, month, day, week, hour, minute, second;
70 #define STREAM_BUFFER_SIZE 4096 95 int comWrite(
int serialNum,
const unsigned char *
buf,
int size, uint32_t ledPin );
96 int comRead(
int serialNum,
unsigned char *
buf,
int size, uint32_t ledPin);
109 #endif // __GLOBALS_H_
void reset_config_defaults(evb_flash_cfg_t *cfg)
void com_bridge_forward(uint32_t srcPort, uint8_t *buf, int len)
uint32_t g_uInsBootloaderEnableTimeMs
wheel_encoder_t g_wheelEncoder
int comWrite(int serialNum, const unsigned char *buf, int size, uint32_t ledPin)
int error_check_config(evb_flash_cfg_t *cfg)
nvr_manage_t g_nvr_manage_config
uint32_t flash_write_count
uint32_t flash_write_needed
#define BOOTLOADER_FLASH_BLOCK_SIZE
uint8_t buf[GPS_RAW_MESSAGE_BUF_SIZE]
evb_flash_cfg_t * g_flashCfg
void com_bridge_smart_forward(uint32_t srcPort, uint32_t ledPin)
uint32_t flash_write_enable
date_time_t g_gps_date_time
uint32_t padding[BOOTLOADER_FLASH_BLOCK_SIZE/sizeof(uint32_t)]
void nvr_slow_maintenance(void)
void com_bridge_apply_preset(evb_flash_cfg_t *cfg)
PUSH_PACK_1 struct PACKED nvm_config_t
Autogenerated API include file for the Atmel Software Framework (ASF)
int comRead(int serialNum, unsigned char *buf, int size, uint32_t ledPin)
struct PACKED nvr_manage_t