Forum Discussion
Altera_Forum
Honored Contributor
21 years agoIntegrating device driver into HAL
I am trying to integrate a peripheral specific device driver (created by me) into the HAL. I would like the HAL to automatically instantiate and register my device driver so I have created the ...
Altera_Forum
Honored Contributor
21 years agoniosIIuser,
I'm afraid you've missed some steps to get your driver initialised from alt_sys_init, rather than document those here I would rather refer you to the documentation. This can be found in the Nios II Software Developers which can be found in the nios2\documents directory and is the file n2sw_nii5v2.pdf file. Chapter 5 Developing Device Drivers for the Hal has a whole section on how to integrate your driver into the Hal.