Forum Discussion
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by kwokwong@Jan 5 2005, 09:46 AM i would like to call the alt_epcs_flash_* functions directly (thus not using hal).
but i got link errors: undefined references to these functions.
i am sure that these functions do exist and are called in alt_sys_init().
apparently these functions will be linked later in the make process.
can anyone tell me how to workaround these? --- Quote End --- Our application has inly a main function (thus not the alt_main function). According the NIOS documentation the alt_main functions takes care the initialisation of the HAL drivers. However, can I still rely that the HAL drivers got initialised if we put our application on the EPCS flash? Or should we provide our our own alt_main() to init the HAL drivers? Regards, Kwok Wong