@@ -36,6 +36,11 @@ BUILD_DIR = build
3636# #####################################
3737# C sources
3838C_SOURCES = \
39+ Src/usbh_diskio.c \
40+ Src/fatfs.c \
41+ Src/freertos.c \
42+ Src/usb_host.c \
43+ Src/usbh_conf.c \
3944Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c \
4045Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c \
4146Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c \
@@ -75,6 +80,7 @@ Middlewares/ST/STM32_USB_Host_Library/Core/Src/usbh_pipes.c \
7580Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc.c \
7681Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc_bot.c \
7782Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc_scsi.c \
83+ Src/syscalls.c \
7884Middlewares/Third_Party/LwIP/src/netif/ppp/auth.c \
7985Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.c \
8086Middlewares/Third_Party/LwIP/src/netif/ppp/chap_ms.c \
@@ -147,9 +153,15 @@ Middlewares/Third_Party/LwIP/src/core/ipv6/dhcp6.c \
147153Middlewares/Third_Party/LwIP/src/core/ipv6/nd6.c \
148154Middlewares/Third_Party/LwIP/system/OS/sys_arch.c \
149155Middlewares/Third_Party/LwIP/src/apps/mqtt/mqtt.c \
156+ Src/stm32f4xx_hal_timebase_TIM.c \
157+ Src/main.c \
158+ Src/lwip.c \
159+ Src/ethernetif.c \
160+ Src/stm32f4xx_it.c \
161+ Src/stm32f4xx_hal_msp.c \
150162Src/communication/dbgu.c \
151163Src/communication/term_io.c \
152- Src/communication/lwip_helpers.c
164+ Src/communication/lwip_helpers.c \
153165
154166# ASM sources
155167ASM_SOURCES = \
@@ -245,6 +257,27 @@ AS_INCLUDES = \
245257# C includes
246258C_INCLUDES = \
247259-IInc \
260+ -IMiddlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F \
261+ -IMiddlewares/ST/STM32_USB_Host_Library/Core/Inc \
262+ -IMiddlewares/ST/STM32_USB_Host_Library/Class/MSC/Inc \
263+ -IMiddlewares/Third_Party/FatFs/src \
264+ -IMiddlewares/Third_Party/FreeRTOS/Source/include \
265+ -IMiddlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS \
266+ -IMiddlewares/Third_Party/LwIP/src/include \
267+ -IMiddlewares/Third_Party/LwIP/system \
268+ -IDrivers/STM32F4xx_HAL_Driver/Inc \
269+ -IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy \
270+ -IMiddlewares/Third_Party/LwIP/src/include/netif/ppp \
271+ -IDrivers/CMSIS/Device/ST/STM32F4xx/Include \
272+ -IMiddlewares/Third_Party/LwIP/src/include/lwip \
273+ -IMiddlewares/Third_Party/LwIP/src/include/lwip/apps \
274+ -IMiddlewares/Third_Party/LwIP/src/include/lwip/priv \
275+ -IMiddlewares/Third_Party/LwIP/src/include/lwip/prot \
276+ -IMiddlewares/Third_Party/LwIP/src/include/netif \
277+ -IMiddlewares/Third_Party/LwIP/src/include/posix \
278+ -IMiddlewares/Third_Party/LwIP/src/include/posix/sys \
279+ -IMiddlewares/Third_Party/LwIP/system/arch \
280+ -IDrivers/CMSIS/Include \
248281-IInc/communication
249282
250283C_INCLUDES += $(WAKAAMA_INC )
0 commit comments