Microchip® Advanced Software Framework

flexible_flash.c File Reference

WINC1500 SPI Flash.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

#include "driver/include/m2m_types.h"
#include "spi_flash/include/spi_flash.h"
#include "spi_flash/include/flexible_flash.h"

Macros

#define FLASH_MAP_TABLE_ADDR   (FLASH_SECTOR_SZ+sizeof(tstrOtaControlSec)+8)
 
#define N_ENTRIES_MAX   32
 

Functions

sint8 spi_flexible_flash_find_section (uint16 u16EntryIDToLookFor, uint32 *pu32StartOffset, uint32 *pu32Size)
 Read the Flash Map to extract the host file starting offset.
. More...
 

#define FLASH_MAP_TABLE_ADDR   (FLASH_SECTOR_SZ+sizeof(tstrOtaControlSec)+8)
#define N_ENTRIES_MAX   32