Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DM_FATFileSystem EthernetInterface HTTPClient mbed-rtos mbed-src
Fork of DMSupport by
Diff: DMBoard.cpp
- 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!
