This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Run RL ARM Http_Demo and FTP services together

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 ?

Parents
  • 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);
    }
    

Reply
  • 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);
    }
    

Children