NXP LPC1768 Ethernet driver for lwip and CMSIS-RTOS

Dependents:   EthernetInterface EthernetInterface EthernetInterface_RSF EthernetInterface ... more

Legacy Networking Libraries

This is an mbed 2 networking library. For mbed 5, the networking libraries have been revised to better support additional network stacks and thread safety here.

This library is based on the code of the NXP LPC port of the Lightweight TCP/IP Stack

Copyright(C) 2011, NXP Semiconductor
All rights reserved.

Software that is described herein is for illustrative purposes only
which provides customers with programming information regarding the
products. This software is supplied "AS IS" without any warranties.
NXP Semiconductors assumes no responsibility or liability for the
use of the software, conveys no license or title under any patent,
copyright, or mask work right to the product. NXP Semiconductors
reserves the right to make changes in the software without
notification. NXP Semiconductors also make no representation or
warranty that such application will be suitable for the specified
use without further testing or modification.
Revision:
14:578727b0a909
Parent:
10:ab9330955226
Child:
24:f274b521b211
diff -r 409b1b671df2 -r 578727b0a909 arch/TARGET_NXP/lpc17_emac.c
--- a/arch/TARGET_NXP/lpc17_emac.c	Fri May 23 05:45:26 2014 +0100
+++ b/arch/TARGET_NXP/lpc17_emac.c	Mon Jun 09 15:00:19 2014 +0100
@@ -138,7 +138,7 @@
 #  if defined (__ICCARM__)
 #     define ETHMEM_SECTION
 #  elif defined(TOOLCHAIN_GCC_CR)
-#     define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32")))
+#     define ETHMEM_SECTION __attribute__((section(".data.$RamPeriph32"), aligned))
 #  else
 #     define ETHMEM_SECTION __attribute__((section("AHBSRAM1"),aligned))
 #  endif