Visible to Intel only — GUID: iga1401316859584
Ixiasoft
Visible to Intel only — GUID: iga1401316859584
Ixiasoft
18.5.1. HAL System Library Support
The driver for the EPCS/EPCQA device is excluded when the reduced device drivers option is enabled in a BSP or system library. To force inclusion of the EPCS/EPCQA drivers in a BSP with the reduced device drivers option enabled, you can define the preprocessor symbol, ALT_USE_EPCS/EPCQA_FLASH, before including the header, as follows:
#define ALT_USE_EPCS/EPCQA_FLASH
#include <altera_avalon_epcs_flash_controller.h>
The HAL API for programming flash, including C-code examples, is described in detail in the Nios II Software Developer Handbook.
For details about managing and programming the EPCS/EPCQA device contents, refer to the Nios II Flash Programmer User Guide.