Altera_Forum
Honored Contributor
11 years agoEmbedded Linux and HAL
Hello,
I'd like to make a question about the peripheral when Linux is installed on a FPGA with NIOS. If I want to access to a peripheral register, I think that I have to make a driver in a Linux manner (device file, major number, etc.). If it is so, how can I call the hal functions? For example, if I want to write in a register, if I make the driver in Linux standard manner, I call fwrite() in the application (that will call the file operations). Can I access to the register without calling IOWR? Thank you