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:
41:e06e764ff4fd
Parent:
30:a97015441bb4
--- a/Memory/sdram.cpp	Wed Jun 10 09:54:15 2015 +0000
+++ b/Memory/sdram.cpp	Wed Oct 23 06:59:29 2019 +0000
@@ -53,7 +53,7 @@
   
   extern "C" unsigned __rt_heap_extend(unsigned size, void **block) {
     static uint32_t lastReturnedBlock = 0;
-    
+
     if (okToUseSdramForHeap && !initialized) {
       sdram_init();
     }
@@ -563,7 +563,8 @@
 #endif
 
   LPC_EMC->DynamicControl    = 0x00000183; /* Issue NOP command */
-  wait(0.2);                         /* wait 200ms */
+  //wait(0.2);                         /* wait 200ms */
+  ThisThread::sleep_for(200);
   LPC_EMC->DynamicControl    = 0x00000103; /* Issue PALL command */
   LPC_EMC->DynamicRefresh    = 0x00000002; /* ( n * 16 ) -> 32 clock cycles */
   for(i = 0; i < 0x80; i++);               /* wait 128 AHB clock cycles */