2019-07-03 18:01:48 -07:00
|
|
|
/*
|
2020-08-02 08:09:18 -07:00
|
|
|
* @file os_access.h
|
2019-07-03 18:01:48 -07:00
|
|
|
*
|
|
|
|
* OS access is not part of global.h in order to help separate synchronous code from asynchronous
|
|
|
|
*
|
|
|
|
* Created on: Jul 3, 2019
|
2020-01-07 21:02:40 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2019-07-03 18:01:48 -07:00
|
|
|
*/
|
|
|
|
|
2020-04-01 18:32:21 -07:00
|
|
|
#pragma once
|
2019-07-03 18:01:48 -07:00
|
|
|
|
|
|
|
#include <ch.h>
|
|
|
|
#include <hal.h>
|
2019-07-03 18:48:04 -07:00
|
|
|
#include "chprintf.h"
|
2020-10-15 05:57:13 -07:00
|
|
|
#include "io_pins.h"
|
2019-07-04 00:57:21 -07:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2020-10-15 05:57:13 -07:00
|
|
|
// ChibiOS c++ wrappers
|
|
|
|
#include "ch.hpp"
|
2019-07-04 00:57:21 -07:00
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2019-07-03 18:01:48 -07:00
|
|
|
#define HAS_OS_ACCESS
|