From 9f17335c19a6ae91a450e267b5313148644a7a14 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 16 Nov 2020 18:20:32 -0700 Subject: Add DMA header file which defines the DMA registers and add testing_harness with fake environment to allow testing on x86 development machines. --- 02-usart/include/common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '02-usart/include/common.h') 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 +#include +#include + +#ifndef static_assert +#define static_assert(a, b) +#endif /* Define __IO to be volatile if it's not already. */ #ifndef __IO -- cgit