mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: don't link lwip bindings from ChibiOS
This commit is contained in:
parent
fb0a0de2f2
commit
9456b585fa
|
@ -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
|
||||
|
|
|
@ -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'''
|
||||
|
|
Loading…
Reference in New Issue