diff options
Diffstat (limited to '02-usart/include/common.h')
-rw-r--r-- | 02-usart/include/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/02-usart/include/common.h b/02-usart/include/common.h index 9d5c7cd..01b6a47 100644 --- a/02-usart/include/common.h +++ b/02-usart/include/common.h @@ -2,6 +2,12 @@ #define COMMON__H #include <stdint.h> +#include <stddef.h> +#include <assert.h> + +#ifndef static_assert +#define static_assert(a, b) +#endif /* Define __IO to be volatile if it's not already. */ #ifndef __IO |