15 #include "../../../hw-libs/drivers/d_flash.h" 155 memset(cfg->
cbf, 0,
sizeof(cfg->
cbf));
202 #ifdef CONF_BOARD_CAN1 203 case EVB2_CB_PRESET_CAN:
254 #ifdef CONF_BOARD_SPI_UINS 264 #ifdef CONF_BOARD_CAN1 267 case EVB2_CB_PRESET_CAN:
290 #ifndef CONF_BOARD_SPI_ATWINC_WIFI 293 #ifndef CONF_BOARD_SPI_UINS
uint32_t cbf[EVB2_PORT_COUNT]
#define FLASH_ACCESS_MODE_128
void nvr_validate_config_integrity(evb_flash_cfg_t *cfg)
#define DEVINFO_MANUFACTURER_STRLEN
void reset_config_defaults(evb_flash_cfg_t *cfg)
uint32_t flash_init(uint32_t ul_mode, uint32_t ul_fws)
Initialize the flash service.
Embedded Flash service for SAM.
#define PROTOCOL_VERSION_CHAR1
#define PROTOCOL_VERSION_CHAR3
uint32_t h4xRadioBaudRate
NMI_API uint32 nmi_inet_addr(char *pcIpAddr)
uint32_t flash_write_count
int error_check_config(evb_flash_cfg_t *cfg)
wheel_encoder_t g_wheelEncoder
uint32_t flash_lock(uint32_t ul_start, uint32_t ul_end, uint32_t *pul_actual_start, uint32_t *pul_actual_end)
Lock all the regions in the given address range. The actual lock range is reported through two output...
void com_bridge_apply_preset_uins_aux(evb_flash_cfg_t *cfg, uint8_t uinsAuxPort)
uint32_t flash_write_needed
uint32_t flash_update_block(uint32_t address, const void *newData, int dataSize, int noPageErase)
float encoderTickToWheelRad
void nvr_slow_maintenance(void)
void com_bridge_apply_preset(evb_flash_cfg_t *cfg)
#define EVB2_CB_PRESET_DEFAULT
#define EVB_CFG_BITS_SET_IDX_SERVER(bits, idx)
#define END_CRITICAL_SECTION
#define BOOTLOADER_FLASH_BLOCK_SIZE
uint32_t g_uInsBootloaderEnableTimeMs
#define HDW_DETECT_VER_EVB_2_0_0
uint32_t flashChecksum32(const void *data, int size)
char manufacturer[DEVINFO_MANUFACTURER_STRLEN]
uint32_t flash_write(uint32_t ul_address, const void *p_buffer, uint32_t ul_size, uint32_t ul_erase_flag)
Write a data buffer on flash.
#define BEGIN_CRITICAL_SECTION
date_time_t g_gps_date_time
union evb_server_t::@40 ipAddr
evb_server_t server[NUM_WIFI_PRESETS]
#define EVB_CFG_BITS_IDX_SERVER(bits)
evb_flash_cfg_t * g_flashCfg
uint32_t flash_write_enable
#define STATIC_ASSERT(exp)
void com_bridge_apply_preset_uins_com(evb_flash_cfg_t *cfg, uint8_t uinsComPort)
PUSH_PACK_1 struct PACKED nvm_config_t
nvr_manage_t g_nvr_manage_config
BSD compatible socket interface.
#define PROTOCOL_VERSION_CHAR2
#define PROTOCOL_VERSION_CHAR0
#define EVB_CFG_BITS_IDX_WIFI(bits)
#define EVB_CFG_BITS_SET_IDX_WIFI(bits, idx)
uint32_t flash_unlock(uint32_t ul_start, uint32_t ul_end, uint32_t *pul_actual_start, uint32_t *pul_actual_end)
Unlock all the regions in the given address range. The actual unlock range is reported through two ou...
#define BOOTLOADER_FLASH_CONFIG_BASE_ADDRESS