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 40 uint32_t
year, month, day, week, hour, minute, second;
82 #define STREAM_BUFFER_SIZE 4096 106 int comWrite(
int serialNum,
const unsigned char *
buf,
int size, uint32_t ledPin );
107 int comRead(
int serialNum,
unsigned char *
buf,
int size, uint32_t ledPin);
121 #endif // __GLOBALS_H_
void reset_config_defaults(evb_flash_cfg_t *cfg)
void com_bridge_forward(uint32_t srcPort, uint8_t *buf, int len)
void board_IO_config(void)
uint32_t g_uInsBootloaderEnableTimeMs
wheel_encoder_t g_wheelEncoder
POP_PACK void init_set_board_IO_config_callback(VoidFuncPtrVoid fpIoCfg)
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
void(* VoidFuncPtrVoid)(void)
void nvr_validate_config_integrity(evb_flash_cfg_t *cfg)
void refresh_led_cfg(void)
#define BOOTLOADER_FLASH_BLOCK_SIZE
uint8_t buf[GPS_RAW_MESSAGE_BUF_SIZE]
uint32_t padding[BOOTLOADER_FLASH_BLOCK_SIZE/2/sizeof(uint32_t)]
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
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