same library edited for usage

Fork of lwip-eth by mbed official

Committer:
mbed_official
Date:
Thu Sep 11 17:00:30 2014 +0100
Revision:
17:eb2c8c3aa1cd
Parent:
arch/TARGET_K64F/k64f_emac_config.h@10:ab9330955226
Child:
20:620d381e7f4c
Synchronized with git revision c372035d60ac16c22e1313348a9e3f47293dc6b8

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

Add derivative support to K64F and updates for MTS_GAMBIT

Who changed what in which revision?

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