/* * os_access.h * * OS access is not part of global.h in order to help separate synchronous code from asynchronous * * Created on: Jul 3, 2019 * @author Andrey Belomutskiy, (c) 2012-2019 */ #ifndef OS_ACCESS_H_ #define OS_ACCESS_H_ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #include #include #include "chprintf.h" #ifdef __cplusplus } #endif /* __cplusplus */ #include "io_pins.h" /* * Stack debugging * See also getMaxUsedStack() */ EXTERNC int getRemainingStack(thread_t *otp); #define HAS_OS_ACCESS #endif /* OS_ACCESS_H_ */