Hi !
I wrote an application that use serial to get user cmds. I used the Blinky example to retarget fputc, ferror, _ttywrch, _sys_exit, and define getkey and sendchar functions. The problem is that I can't link with the std libc because of this error : use no semihosting but _sys_open was referenced. infocenter.arm.com/.../index.jsp
Then I added the __stdout definition and I fall in linker pb : __stdout redefinition in stdio.o and retarget.o
If a retarget _sys_open() as in the SD_file demo, the linker still continue with the same issue ??!!
The only way I found to get rid of this pb was to use the ulib.
The problem is that this is a "unit test" and in my final application I can't use microlib because I use the RL-Flash library.
Did anybody resolved this issue ?
View all questions in Keil forum