Hi I want to use RL ARM TCP_Net Http_Demo and FTP_Demo services together but I receive this Error:
.\Obj\Http_demo.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but a semihosting fgetc was linked in
whats your idea ?
Hi Franc Thank you for your fast reply. I have added retarget.c from FTP_Demo in my project but I receive this error yet. Should I make some change in my project or source files ? Regards Hadi
The problem is fputc function. Retargetting of this function is done in the upper layer and bypasses the internal runtime library buffering.
int fputc (int ch, FILE *f) { .. return (ch); }
Rename this function to sendchar which is basically the same, but the retargetting is done in the low layer below the runtime library buffering.
int sendchar (int ch) { .. return (ch); }
Hi Franc I renamed fputc to sendchar but now I receive two error:
.\Obj\Http_demo.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but a semihosting fgetc was linked in .\Obj\Http_demo.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but a semihosting fputc was linked in
what's the problem ?
Hi everybody what's your idea about this problem ? no one can help me ?