mirror of https://github.com/ArduPilot/ardupilot
waf: disable use of libc realloc for chibios
This commit is contained in:
parent
51fa1773b4
commit
21a6a5d061
|
@ -442,6 +442,7 @@ class chibios(Board):
|
|||
env.DEFINES.update(
|
||||
CONFIG_HAL_BOARD = 'HAL_BOARD_CHIBIOS',
|
||||
HAVE_STD_NULLPTR_T = 0,
|
||||
USE_LIBC_REALLOC = 0,
|
||||
)
|
||||
|
||||
env.AP_LIBRARIES += [
|
||||
|
@ -494,6 +495,7 @@ class chibios(Board):
|
|||
'-specs=nosys.specs',
|
||||
'-DCHIBIOS_BOARD_NAME="%s"' % self.name,
|
||||
'-D__USE_CMSIS',
|
||||
'-Werror=deprecated-declarations'
|
||||
]
|
||||
env.CXXFLAGS += env.CFLAGS + [
|
||||
'-fno-rtti',
|
||||
|
|
Loading…
Reference in New Issue