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.
Committer:
mbed_official
Date:
Thu May 26 09:00:26 2016 +0100
Revision:
33:9de8bd8ca1c8
Synchronized with git revision 745ebbf4557f0f3964f73063c1d88ddbcda0ed22

Full URL: https://github.com/mbedmicro/mbed/commit/745ebbf4557f0f3964f73063c1d88ddbcda0ed22/

Synch - fix lwip-eth path

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 33:9de8bd8ca1c8 1 /*
mbed_official 33:9de8bd8ca1c8 2 * Copyright (c) 2013 - 2014, Freescale Semiconductor, Inc.
mbed_official 33:9de8bd8ca1c8 3 * All rights reserved.
mbed_official 33:9de8bd8ca1c8 4 *
mbed_official 33:9de8bd8ca1c8 5 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 33:9de8bd8ca1c8 6 * are permitted provided that the following conditions are met:
mbed_official 33:9de8bd8ca1c8 7 *
mbed_official 33:9de8bd8ca1c8 8 * o Redistributions of source code must retain the above copyright notice, this list
mbed_official 33:9de8bd8ca1c8 9 * of conditions and the following disclaimer.
mbed_official 33:9de8bd8ca1c8 10 *
mbed_official 33:9de8bd8ca1c8 11 * o Redistributions in binary form must reproduce the above copyright notice, this
mbed_official 33:9de8bd8ca1c8 12 * list of conditions and the following disclaimer in the documentation and/or
mbed_official 33:9de8bd8ca1c8 13 * other materials provided with the distribution.
mbed_official 33:9de8bd8ca1c8 14 *
mbed_official 33:9de8bd8ca1c8 15 * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
mbed_official 33:9de8bd8ca1c8 16 * contributors may be used to endorse or promote products derived from this
mbed_official 33:9de8bd8ca1c8 17 * software without specific prior written permission.
mbed_official 33:9de8bd8ca1c8 18 *
mbed_official 33:9de8bd8ca1c8 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
mbed_official 33:9de8bd8ca1c8 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
mbed_official 33:9de8bd8ca1c8 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 33:9de8bd8ca1c8 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
mbed_official 33:9de8bd8ca1c8 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
mbed_official 33:9de8bd8ca1c8 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
mbed_official 33:9de8bd8ca1c8 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
mbed_official 33:9de8bd8ca1c8 26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
mbed_official 33:9de8bd8ca1c8 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
mbed_official 33:9de8bd8ca1c8 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 33:9de8bd8ca1c8 29 */
mbed_official 33:9de8bd8ca1c8 30 #ifndef K64F_EMAC_CONFIG_H__
mbed_official 33:9de8bd8ca1c8 31 #define K64F_EMAC_CONFIG_H__
mbed_official 33:9de8bd8ca1c8 32
mbed_official 33:9de8bd8ca1c8 33 #include "fsl_enet.h"
mbed_official 33:9de8bd8ca1c8 34
mbed_official 33:9de8bd8ca1c8 35 #define ENET_RX_RING_LEN (16)
mbed_official 33:9de8bd8ca1c8 36 #define ENET_TX_RING_LEN (8)
mbed_official 33:9de8bd8ca1c8 37
mbed_official 33:9de8bd8ca1c8 38 #define ENET_ETH_MAX_FLEN (1522) // recommended size for a VLAN frame
mbed_official 33:9de8bd8ca1c8 39
mbed_official 33:9de8bd8ca1c8 40 #if defined(__cplusplus)
mbed_official 33:9de8bd8ca1c8 41 extern "C" {
mbed_official 33:9de8bd8ca1c8 42 #endif
mbed_official 33:9de8bd8ca1c8 43
mbed_official 33:9de8bd8ca1c8 44 int phy_link_status(void);
mbed_official 33:9de8bd8ca1c8 45
mbed_official 33:9de8bd8ca1c8 46 #if defined(__cplusplus)
mbed_official 33:9de8bd8ca1c8 47 }
mbed_official 33:9de8bd8ca1c8 48 #endif
mbed_official 33:9de8bd8ca1c8 49
mbed_official 33:9de8bd8ca1c8 50 #endif // #define K64F_EMAC_CONFIG_H__
mbed_official 33:9de8bd8ca1c8 51