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) .