TI BLE-Stack for Bluetooth 4.2 API Documentation
3.02.03.00
|
Contains common structures and defines related to external flash layout as it for the OAD usecase.
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_APP_IMG_SZ 0x10000 |
#define | EFL_FACT_IMG_0_ADDR EFL_FLASH_SIZE - EFL_MAX_IMG_SZ |
#define | EFL_FACT_IMG_1_ADDR EFL_FACT_IMG_0_ADDR - EFL_MAX_IMG_SZ |
#define | EFL_FACT_IMG_META_PG 0 |
#define | EFL_IMG_SPACE_END (EFL_FACT_IMG_1_ADDR - 1) |
#define | EFL_IMG_SPACE_START EFL_APP_IMG_SZ |
#define | EFL_IMG_STR_ADDR_OFFSET offsetof(ExtImageInfo_t, extFlAddr) |
#define | EFL_MAX_IMG_SZ 0x20000 |
#define | EFL_MAX_META 4 |
#define | EFL_META_COPY_SZ |
#define | EFL_META_COUNTER_OFFSET offsetof(ExtImageInfo_t, counter) |
#define | EFL_META_PG_INVALID 0xFF |
#define | EFL_METADATA_LEN sizeof(ExtImageInfo_t) |
#define | EFL_NUM_FACT_IMAGES 2 |
#define | EFL_PAGE_SIZE 0x1000 |
#define | EFL_SIZE_META EFL_PAGE_SIZE |
#define | EFL_USR_AREA_ADDR EFL_SIZE_META*EFL_MAX_META |
#define | EFL_USR_AREA_SZ EFL_IMG_SPACE_START - EFL_USR_AREA_ADDR |
#define | OAD_EFL_MAGIC {'O', 'A', 'D', ' ', 'N', 'V', 'M', '1'} |
#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 | |
External flash image header used to populate the table of image headers in external flash. More... | |