Modification to work two socket servers at the same time

Fork of lwip by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Feb 09 09:15:27 2015 +0000
Parent:
17:335b94e0aa9c
Child:
19:1046f8be4d44
Commit message:
Synchronized with git revision b36cbfe9f095645336e02d7f812d481bdf170ffc

Full URL: https://github.com/mbedmicro/mbed/commit/b36cbfe9f095645336e02d7f812d481bdf170ffc/

Fix target issues for TARGET_LPC4088_DM

Changed in this revision

core/mem.c Show annotated file Show diff for this revision Revisions of this file
core/memp.c Show annotated file Show diff for this revision Revisions of this file
--- a/core/mem.c	Thu Nov 06 11:00:46 2014 +0000
+++ b/core/mem.c	Mon Feb 09 09:15:27 2015 +0000
@@ -178,7 +178,7 @@
  * how that space is calculated). */
 #ifndef LWIP_RAM_HEAP_POINTER
 
-#if defined(TARGET_LPC4088)
+#if defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM)
 #  if defined (__ICCARM__)
 #     define ETHMEM_SECTION
 #  elif defined(TOOLCHAIN_GCC_CR)
--- a/core/memp.c	Thu Nov 06 11:00:46 2014 +0000
+++ b/core/memp.c	Mon Feb 09 09:15:27 2015 +0000
@@ -168,7 +168,7 @@
 
 #if defined(TARGET_LPC1768)
 #  define ETHMEM_SECTION __attribute((section("AHBSRAM1")))
-#elif defined(TARGET_LPC4088) || defined(TARGET_K64F) || defined(TARGET_RZ_A1H)
+#elif defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM) || defined(TARGET_K64F) || defined(TARGET_RZ_A1H)
 #  define ETHMEM_SECTION 
 #endif