Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHmm this is very strange... this table is defined here:
// This array contains entries for all flash devices that are
// installed in the system.
__externC struct cyg_flash_dev cyg_flashdevtab;
CYG_HAL_TABLE_BEGIN(cyg_flashdevtab, cyg_flashdev);
// end of the flashdev table
__externC struct cyg_flash_dev cyg_flashdevtab_end;
CYG_HAL_TABLE_END(cyg_flashdevtab_end, cyg_flashdev);Try to have a look at the symbols in the compiled file. This table is placed in a special link section called .ecos.table.cyg_flashdev, and you should have your p8p_drv_handle symbol in that section. Are you sure your driver is linked with the rest of the eCos kernel? How did you include it in the eCos configuration? Is your .cdl file correctly included in the ecos.ecc configuration file?