mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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
|
include $(CHIBIOS)/os/various/fatfs_bindings/fatfs.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_LWIP),yes)
|
|
||||||
include $(CHIBIOS)/os/various/lwip_bindings/lwip.mk
|
|
||||||
endif
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build global options
|
# Build global options
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@ -149,9 +145,8 @@ CSRC += $(CHIBIOS)/os/various/scsi_bindings/lib_scsi.c \
|
|||||||
$(CHIBIOS)/os/hal/src/hal_usb_msd.c
|
$(CHIBIOS)/os/hal/src/hal_usb_msd.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_LWIP),yes)
|
# evtimer used by networking
|
||||||
CSRC += $(CHIBIOS)/os/various/evtimer.c
|
CSRC += $(CHIBIOS)/os/various/evtimer.c
|
||||||
endif
|
|
||||||
|
|
||||||
# $(TESTSRC) \
|
# $(TESTSRC) \
|
||||||
# test.c
|
# test.c
|
||||||
|
@ -910,8 +910,6 @@ class ChibiOSHWDef(object):
|
|||||||
#endif
|
#endif
|
||||||
#define CH_CFG_USE_MAILBOXES 1
|
#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):
|
def write_mcu_config(self, f):
|
||||||
'''write MCU config defines'''
|
'''write MCU config defines'''
|
||||||
|
Loading…
Reference in New Issue
Block a user