cyg_bundle_access_flash

Name

cyg_bundle_access_flash -- Initialise “flash” bundle context

Synopsis

#include <cyg/bundle/bundle_api.h>

cyg_bundle_context_t *cyg_bundle_access_flash(const cyg_flashaddr_t bundle_addr, const cyg_flashaddr_t limit_addr);

Description

Initialises context for accessing non-memory-mapped flash based bundle images via the standard eCos flash API. This “flash” access mechanism is primarily for indirectly-accessed flash memory (e.g. SPI devices), though nothing prohibits the use of the flash API from accessing memory-mapped flash images. This functionality is only available if CYGPKG_IO_FLASH is configured.

Return value

Pointer to object or NULL if unable to create context.

2017-02-09
Documentation license for this page: eCosPro License