A board support package for the LPC4088 Display Module.

Dependencies:   DM_HttpServer DM_USBHost

Dependents:   lpc4088_displaymodule_emwin lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI ... more

Fork of DMSupport by EmbeddedArtists AB

Revision:
42:bbfe299d4a0c
Parent:
37:07659b5d90ce
--- a/DMBoard.h	Wed Oct 23 06:59:29 2019 +0000
+++ b/DMBoard.h	Mon Nov 04 14:32:50 2019 +0000
@@ -36,6 +36,18 @@
   #include "Registry.h"
 #endif
 
+#if defined(DM_BOARD_USE_USB_HOST) && defined(DM_BOARD_USE_ETHERNET)
+/*
+ * It is not possible to use USB Host and Ethernet at the same time due to a
+ * conflict in memory areas.
+ *
+ * In OS 5 memory area AHBSRAM0 is used by the EMAC driver (lpc17_emac.cpp) and
+ * AHBSRAM1 is used by LWIP as heap (lwip_sys_arch.c). The USB host 
+ * implementation is using AHBSRAM1 (USBHALHost.cpp). 
+ */
+#error "Cannot have both USB Host and Ethernet enabled at the same time. See DMBoard.h"
+#endif
+
 
 /**
  * Example of using the Board class:
@@ -181,6 +193,7 @@
 
 #if defined(DM_BOARD_USE_MCI_FS)
     MCIFileSystem _mcifs;
+    FATFileSystem _mciFatFs;
 #endif
 #if defined(DM_BOARD_USE_QSPI_FS)
     QSPIFileSystem _qspifs;