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

Discussions and support about ChibiStudio, the free development environment for ARM.
ferrim
Posts: 2
Joined: Fri Oct 07, 2016 11:49 am

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

Postby ferrim » Fri Oct 07, 2016 12:03 pm

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

Marco
Posts: 128
Joined: Tue Apr 16, 2013 8:22 pm
Has thanked: 4 times
Been thanked: 11 times

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

Postby Marco » Fri Oct 07, 2016 1:02 pm

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

ferrim
Posts: 2
Joined: Fri Oct 07, 2016 11:49 am

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

Postby ferrim » Fri Oct 07, 2016 1:46 pm

Thank you Marco, now works!
Cheers


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 3 guests