mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 08:23:56 -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
73e5c2b4a8
commit
db5b344611
@ -1372,6 +1372,7 @@ class linux(Board):
|
||||
]
|
||||
|
||||
# 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']
|
||||
|
||||
if cfg.options.force_32bit:
|
||||
|
Loading…
Reference in New Issue
Block a user