ardupilot/libraries/AP_HAL/system.cpp
Peter Barker 2f7603e08e AP_HAL: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00

16 lines
266 B
C++

#include "system.h"
uint16_t WEAK AP_HAL::millis16()
{
return millis() & 0xFFFF;
}
void WEAK AP_HAL::dump_stack_trace()
{
// stack dump not available on this platform
}
void WEAK AP_HAL::dump_core_file()
{
// core dump not available on this platform
}