We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I get the following error when I do build in microvision. The project uses a CortexM1 processor on Altera Cycloneiii FPGA.
The Error: .\obj\ITCM.axf: Error: L6200E: Symbol ferror multiply defined (by iostubs.o and retarget.o).
The code causing the error: /* fopen test prg*/
void tst_fopen (void) { FILE *fin; fin = fopen ("Test.txt","r"); if (fin == NULL) { printf ("File not found!\n"); } else { fclose (fin); } }
Iam a Hardware Enginner, not much in the C programming., I was wondering if any one could help me on this issue.
Thanks, Veeraraghavan.R
Thanks Franc, I guess semihosting is not possible in FPGA, I wasn't sure but wanted to try it.BTW what's microlib?