Normally, in NIOS II, there is a macro called UART_NAME generated, and users open ("/dev/uart_name) to read and write to that file. Can I do the same with Cyclone V HPS/Soc ?? Also, if I’m not building my program in Linux environment, instead a RTOS operating system, is this still able to implement this way ?
You can get this to work, but I’d only recommend using the 16550 compliant uart if this is what you want to do.
Also, RTOS’s are possible on v7 architecture devices, but but recommended or broadly supported.