From c16632da0bf8d042388018c667cfbc176ed56436 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 17 Jan 2013 14:40:46 +0700 Subject: add UART support for ea4357 (tested) --- tinyusb/tusb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tinyusb/tusb.h') diff --git a/tinyusb/tusb.h b/tinyusb/tusb.h index 9eb153371..8d1fd66bc 100644 --- a/tinyusb/tusb.h +++ b/tinyusb/tusb.h @@ -58,6 +58,10 @@ #include "device/dcd.h" #endif +#if !(defined TUSB_CFG_HOST) && !(defined TUSB_CFG_DEVICE) + #error please enable either TUSB_CFG_HOST or TUSB_CFG_DEVICE +#endif + #if DEVICE_CLASS_HID #include "class/hid.h" #endif -- cgit v1.3.1