t

Dependencies:   DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos

Fork of DMSupport by Embedded Artists

Revision:
34:fc366bab393f
Parent:
33:8a0a99d54bf8
Child:
36:92193dc72995
--- a/DMBoard.cpp	Thu Feb 19 14:41:14 2015 +0100
+++ b/DMBoard.cpp	Mon Mar 09 11:15:56 2015 +0100
@@ -35,6 +35,10 @@
 #if defined(DM_BOARD_USE_USB_DEVICE) && defined(DM_BOARD_USE_USB_HOST)
   #error The hardware supports either USB Device or USB Host - not both at the same time
 #endif
+  
+#if defined(DM_BOARD_USE_USBSERIAL_IN_RTOSLOG) && !defined(DM_BOARD_USE_USB_DEVICE)
+  #error Cannot use USBSerial in RtosLog without DM_BOARD_USE_USB_DEVICE
+#endif
 
 #if defined(DM_BOARD_USE_TOUCH) && !defined(DM_BOARD_USE_DISPLAY)
   #error Cannot have touch controller without a display!