From c861c7cd70959f9d6154d1b5541cc5cd57f030ba Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 15 Jan 2018 13:51:38 -0700 Subject: Added system-clock files including the genmake script. --- system-clock/common.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system-clock/common.h (limited to 'system-clock/common.h') diff --git a/system-clock/common.h b/system-clock/common.h new file mode 100644 index 0000000..f58f179 --- /dev/null +++ b/system-clock/common.h @@ -0,0 +1,13 @@ +#ifndef COMMON__H +#define COMMON__H + +/* Define __IO to be volatile if it's not already. */ +#ifndef __IO +#define __IO volatile +#endif + +#define bool int + +#define PACKED __attribute__((packed)) + +#endif /* COMMON_H */ -- cgit