18 #ifndef __XBEE_EBL_FILE_H 19 #define __XBEE_EBL_FILE_H 23 #define IMAGE_INFO_MAXLEN 32 25 #define EBLTAG_HEADER 0x0000 28 #define IMAGE_SIGNATURE_EM250 0xE250 29 #define IMAGE_SIGNATURE_EM260 0xE260 31 #define IMAGE_SIGNATURE_EM350 0xE350 81 const char *description;
83 #define MICRO_INFO_END { 0xFF, NULL } 90 #define PLATFORM_INFO_END { 0xFF, NULL } 136 #define EBL_HEADER_DUMP_TARGET_DESC (1<<0) 137 #define EBL_HEADER_DUMP_PHY_DESC (1<<1) 138 #define EBL_HEADER_DUMP_EMBER_VER (1<<2) 139 #define EBL_HEADER_DUMP_TIMESTAMP (1<<3) 140 #define EBL_HEADER_DUMP_IMAGE_INFO (1<<4) 141 #define EBL_HEADER_DUMP_EVERYTHING 0xFFFF 145 #use "xbee_ebl_file.c" 148 #endif // __XBEE_EBL_FILE_H unsigned long uint32_t
32-bit unsigned integer
Definition: platform_config.h:43
const platform_info_t platform_info[]
Table of tables used to decode plat_info and micro_info fields from .EBL file header.
Definition: xbee_ebl_file.c:54
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
unsigned char uint8_t
8-bit unsigned integer
Definition: platform_config.h:39
const char * ebl_phy_desc(uint8_t phy_info)
Returns a description of the PHY based on the phy_info field in the em3xx_header_t structure...
Definition: xbee_ebl_file.c:89
int ebl_header_dump(const void *buffer, uint16_t flags)
Prints a description of the .EBL file header.
Definition: xbee_ebl_file.c:184
const char * ebl_target_desc(uint8_t plat_info, uint8_t micro_info)
Returns a description of the platform based on the plat_info and micro_info fields in the em3xx_heade...
Definition: xbee_ebl_file.c:63
Structure used to hold table of micro_info values from EM3XX header.
Definition: ebl_file.h:79