Altera_Forum
Honored Contributor
21 years agohow to handle the uart
if i can handle the uart under OS-II like under unix?
the MicroC/OS-II support all the system function like open, read ,write, tcgetattr, tcsetattr, and the struct termios, etc.?if i can handle the uart under OS-II like under unix?
the MicroC/OS-II support all the system function like open, read ,write, tcgetattr, tcsetattr, and the struct termios, etc.?MicroC/OS-II does not support the UART directly.
But the Nios II port of MicroC/OS-II includes the HAL library which does provide UART support using the unix like functions you mention. Please see the documentation for more details.how to handle sram and flash?e.g:write data to an address(i know exactly where it is) of sram .
thank you!