RT-STM32-LWIP-FATFS-USB-HTTPS demo regression after "Updated all STM32 Makefiles" Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
ych
Posts: 33
Joined: Tue Mar 03, 2015 11:38 pm
Has thanked: 7 times
Been thanked: 9 times

RT-STM32-LWIP-FATFS-USB-HTTPS demo regression after "Updated all STM32 Makefiles"  Topic is solved

Postby ych » Tue Mar 20, 2018 9:38 am

During "Updated all STM32 Makefiles" (git-svn-id: svn://svn.code.sf.net/p/chibios/svn/bra ... .2.x@11672 110e8d01-0319-4d1e-a829-52ad28d1bb01) was removed nessery to compile files and as result we got linking error:

Code: Select all

Linking build-stm32f746_discovery/ch.elf
/var/folders/xv/fhs6fgs95sb2qvdvs090pk040000gn/T//ccIon9OY.ltrans13.ltrans.o: In function `main':
/Users/ych/projects/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/main.c:342: undefined reference to `https_server'
/Users/ych/projects/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/main.c:342: undefined reference to `wa_https_server'
collect2: error: ld returned 1 exit status
make[1]: *** [build-stm32f746_discovery/ch.elf] Error 1
make: *** [all] Error 2

Patch:

Code: Select all

diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/Makefile-stm32f746_discovery b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/Makefile-stm32f746_discovery
index cf672522b..aed10bdde 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/Makefile-stm32f746_discovery
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/Makefile-stm32f746_discovery
@@ -127,7 +127,7 @@ CSRC = $(ALLCSRC) \
        $(TESTSRC) \
        $(CHIBIOS)/os/various/evtimer.c \
        $(CONFDIR)/portab.c \
-       src/usbcfg.c main.c
+       usbcfg.c main.c web/web.c web/cert.c
 
 # C++ sources that can be compiled in ARM or THUMB mode depending on the global
 # setting.

Also after that commit, this file got mixed line ending (Windows and Unix) :(.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: RT-STM32-LWIP-FATFS-USB-HTTPS demo regression after "Updated all STM32 Makefiles"

Postby Giovanni » Fri Mar 23, 2018 1:08 pm

Fixed thanks.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 24 guests