TI OAD API Documentation  9.14.00
Macros | Variables
ext_flash_layout.h File Reference

Contains common structures and defines related to external flash layout as it for the OAD usecase. More...

Go to the source code of this file.

Macros

#define EFL_ADDR_META   0x00000
 
#define EFL_ADDR_META_FACT_IMG   EFL_ADDR_META
 
#define EFL_FACT_IMG_META_PG   0
 
#define EFL_IMG_STR_ADDR_OFFSET   offsetof(ExtImageInfo_t, extFlAddr)
 
#define EFL_META_COPY_SZ   offsetof(ExtImageInfo_t, fixedHdr.rfu) + sizeof(((ExtImageInfo_t){0}).fixedHdr.rfu)
 
#define EFL_META_COUNTER_OFFSET   offsetof(ExtImageInfo_t, counter)
 
#define EFL_META_PG_INVALID   0xFF
 
#define EFL_METADATA_LEN   sizeof(ExtImageInfo_t)
 
#define EFL_SIZE_META   EFL_PAGE_SIZE
 
#define OAD_EFL_MAGIC
 
#define OAD_EFL_MAGIC_SZ   8
 

Variables

uint32_t counter
 Timestamp/counter of image.
 
uint32_t extFlAddr
 Location of the image in ext flash.
 
 ExtImageInfo_t
 
 TYPEDEF_STRUCT_PACKED
 This is the core image header. More...
 

Detailed Description

Contains common structures and defines related to external flash layout as it for the OAD usecase.