Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
773 Views

how 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.?
0 Kudos
2 Replies
Highlighted
Valued Contributor III
4 Views

Re: how to handle the uart

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.
0 Kudos
Highlighted
Valued Contributor III
4 Views

Re: how to handle the uart

how to handle sram and flash?e.g:write data to an address(i know exactly where it is) of sram . 

thank you!
0 Kudos