HAL_ChibiOS: don't link lwip bindings from ChibiOS

This commit is contained in:
Andrew Tridgell 2023-12-24 14:04:42 +11:00
parent fb0a0de2f2
commit 9456b585fa
2 changed files with 1 additions and 8 deletions

View File

@ -68,10 +68,6 @@ ifeq ($(USE_FATFS),yes)
include $(CHIBIOS)/os/various/fatfs_bindings/fatfs.mk
endif
ifeq ($(USE_LWIP),yes)
include $(CHIBIOS)/os/various/lwip_bindings/lwip.mk
endif
#
# Build global options
##############################################################################
@ -149,9 +145,8 @@ CSRC += $(CHIBIOS)/os/various/scsi_bindings/lib_scsi.c \
$(CHIBIOS)/os/hal/src/hal_usb_msd.c
endif
ifeq ($(USE_LWIP),yes)
# evtimer used by networking
CSRC += $(CHIBIOS)/os/various/evtimer.c
endif
# $(TESTSRC) \
# test.c

View File

@ -910,8 +910,6 @@ class ChibiOSHWDef(object):
#endif
#define CH_CFG_USE_MAILBOXES 1
''')
self.env_vars['USE_LWIP'] = 'yes'
self.build_flags.append('USE_LWIP=yes')
def write_mcu_config(self, f):
'''write MCU config defines'''