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

problem to use fopen with Flash FS library

Hello everybody,

I use a LP1768 (cortex-M3) and I would like to use an SD card. For this, i use the Flash FS library. But when i want to use the "fopen()" this fuction doesn't work. it return an error.

I have read the different posts on this forum and they speak about the "retarget file". But when i implement this file on my project, I have an error :
".\Obj\test.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but a semihosting fputc was linked in"
I do not understand exactly what is the problem, but I do not really understand the usefulness of this file.

Can you help me ?

thank you

Parents
  • But since I could not find the solution, I all over again. And I do not know why, I have even more errors.
    But what I do not understand is that if I contains the sample project and I change the Main file (with my code) everything works fine. But if I create a new project with the same file include (retarget.c, FS_CM3.lib, file_Config.c, ...) it does not work!

    I must be an error in making a new project but I do not know what.

    Thank you for your help anyway.

Reply
  • But since I could not find the solution, I all over again. And I do not know why, I have even more errors.
    But what I do not understand is that if I contains the sample project and I change the Main file (with my code) everything works fine. But if I create a new project with the same file include (retarget.c, FS_CM3.lib, file_Config.c, ...) it does not work!

    I must be an error in making a new project but I do not know what.

    Thank you for your help anyway.

Children