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 27:fde88aaaea28, committed 2015-06-15
- Comitter:
- mbed_official
- Date:
- Mon Jun 15 07:15:45 2015 +0100
- Parent:
- 26:32c3ccc5a8ef
- Child:
- 28:72f8b097fbf3
- Commit message:
- Synchronized with git revision 77a973c00943e35b25c7aa34590de6e06de2ccef
Full URL: https://github.com/mbedmicro/mbed/commit/77a973c00943e35b25c7aa34590de6e06de2ccef/
Update k64f_emac.c
Changed in this revision
arch/TARGET_Freescale/k64f_emac.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/arch/TARGET_Freescale/k64f_emac.c Mon May 04 08:30:44 2015 +0100 +++ b/arch/TARGET_Freescale/k64f_emac.c Mon Jun 15 07:15:45 2015 +0100 @@ -540,7 +540,7 @@ /* Wait for receive task to wakeup */ sys_arch_sem_wait(&k64f_enet->RxReadySem, 0); - if ((bdPtr[idx].control & kEnetRxBdEmpty) == 0) { + while ((bdPtr[idx].control & kEnetRxBdEmpty) == 0) { k64f_enetif_input(k64f_enet->netif, idx); idx = (idx + 1) % ENET_RX_RING_LEN; }