Altera_Forum
Honored Contributor
14 years agoUART with fopen
im trying read and write to my uart device like:
FILE *urt;
urt = fopen("/dev/UART","r+");
fprintf(urt,"data"); but fopen does not work for me unless i disable small c library. and when i do that it naturally increases my memory footprint. is there a way to do this without disabling small c? am i doing something wrong. the error im getting with small c enabled is "undefined reference to 'fopen' " thanks in advance