mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-31 13:08:34 -04:00
Tools: ensure ESP32 malloc is wrapped to zero memory
The relevant linker flag needed to be put in the CMake script.
This commit is contained in:
parent
ed08a6a0bc
commit
d9e5f2d8a7
@ -1390,6 +1390,7 @@ class linux(Board):
|
|||||||
]
|
]
|
||||||
|
|
||||||
# wrap malloc to ensure memory is zeroed
|
# wrap malloc to ensure memory is zeroed
|
||||||
|
# note that this also needs to be done in the CMakeLists.txt files
|
||||||
env.LINKFLAGS += ['-Wl,--wrap,malloc']
|
env.LINKFLAGS += ['-Wl,--wrap,malloc']
|
||||||
|
|
||||||
if cfg.options.force_32bit:
|
if cfg.options.force_32bit:
|
||||||
|
Loading…
Reference in New Issue
Block a user