Page 1 of 1

Error compiling RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB

Posted: Fri Oct 07, 2016 12:03 pm
by ferrim
Hi all,
I have just downloaded and installed the ChibiStudio, I try to compile the RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB and receive this error:

Code: Select all

12:10:38 **** Incremental Build of configuration Default for project RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB ****
make -j8 all
Compiling lwipthread.c
make: *** No rule to make target `etharp.c', needed by `build/obj/etharp.o'.  Stop.
make: *** Waiting for unfinished jobs....
Compiling sys_arch.c
In file included from ../../../os/various/lwip_bindings/lwipthread.c:61:0:
../../../os/various/lwip_bindings/lwipthread.h:27:22: fatal error: lwip/opt.h: No such file or directory
 #include <lwip/opt.h>
                      ^
compilation terminated.
../../../os/various/lwip_bindings/arch/sys_arch.c:55:22: fatal error: lwip/opt.h: No such file or directory
 #include "lwip/opt.h"
                      ^
compilation terminated.
make: *** [build/obj/lwipthread.o] Error 1
make: *** [build/obj/sys_arch.o] Error 1

12:10:40 Build Finished (took 1s.780ms)


Probably it is an Eclipse configuration problem but if anyone can give me a tip..
Thank you

Re: Error compiling RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB

Posted: Fri Oct 07, 2016 1:02 pm
by Marco
Hi,

Did you extract the content of the following two files in the ext folder?
- fatfs-0.10b-patched.7z
- lwip-1.4.1_patched.7z

Marco

Re: Error compiling RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB (SOLVED)

Posted: Fri Oct 07, 2016 1:46 pm
by ferrim
Thank you Marco, now works!
Cheers