Ethernet for Nucleo and Disco board STM32F746 works with gcc and arm. IAC is untested

Dependencies:   mbed-rtos

Dependents:   IMU_ethernet

Fork of F7_Ethernet by Dieter Graef

Committer:
rctaduio
Date:
Thu Oct 06 16:55:16 2016 +0000
Revision:
2:e0a4035b5cd1
Parent:
0:d26c1b55cfca
Ethernet library for F7

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DieterGraef 0:d26c1b55cfca 1 /*****************************************************************************
DieterGraef 0:d26c1b55cfca 2 * pppdebug.h - System debugging utilities.
DieterGraef 0:d26c1b55cfca 3 *
DieterGraef 0:d26c1b55cfca 4 * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
DieterGraef 0:d26c1b55cfca 5 * portions Copyright (c) 1998 Global Election Systems Inc.
DieterGraef 0:d26c1b55cfca 6 * portions Copyright (c) 2001 by Cognizant Pty Ltd.
DieterGraef 0:d26c1b55cfca 7 *
DieterGraef 0:d26c1b55cfca 8 * The authors hereby grant permission to use, copy, modify, distribute,
DieterGraef 0:d26c1b55cfca 9 * and license this software and its documentation for any purpose, provided
DieterGraef 0:d26c1b55cfca 10 * that existing copyright notices are retained in all copies and that this
DieterGraef 0:d26c1b55cfca 11 * notice and the following disclaimer are included verbatim in any
DieterGraef 0:d26c1b55cfca 12 * distributions. No written agreement, license, or royalty fee is required
DieterGraef 0:d26c1b55cfca 13 * for any of the authorized uses.
DieterGraef 0:d26c1b55cfca 14 *
DieterGraef 0:d26c1b55cfca 15 * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
DieterGraef 0:d26c1b55cfca 16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
DieterGraef 0:d26c1b55cfca 17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
DieterGraef 0:d26c1b55cfca 18 * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
DieterGraef 0:d26c1b55cfca 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
DieterGraef 0:d26c1b55cfca 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DieterGraef 0:d26c1b55cfca 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
DieterGraef 0:d26c1b55cfca 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
DieterGraef 0:d26c1b55cfca 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
DieterGraef 0:d26c1b55cfca 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
DieterGraef 0:d26c1b55cfca 25 *
DieterGraef 0:d26c1b55cfca 26 ******************************************************************************
DieterGraef 0:d26c1b55cfca 27 * REVISION HISTORY (please don't use tabs!)
DieterGraef 0:d26c1b55cfca 28 *
DieterGraef 0:d26c1b55cfca 29 * 03-01-01 Marc Boucher <marc@mbsi.ca>
DieterGraef 0:d26c1b55cfca 30 * Ported to lwIP.
DieterGraef 0:d26c1b55cfca 31 * 98-07-29 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
DieterGraef 0:d26c1b55cfca 32 * Original.
DieterGraef 0:d26c1b55cfca 33 *
DieterGraef 0:d26c1b55cfca 34 *****************************************************************************
DieterGraef 0:d26c1b55cfca 35 */
DieterGraef 0:d26c1b55cfca 36 #ifndef PPPDEBUG_H
DieterGraef 0:d26c1b55cfca 37 #define PPPDEBUG_H
DieterGraef 0:d26c1b55cfca 38
DieterGraef 0:d26c1b55cfca 39 /* Trace levels. */
DieterGraef 0:d26c1b55cfca 40 #define LOG_CRITICAL (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
DieterGraef 0:d26c1b55cfca 41 #define LOG_ERR (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
DieterGraef 0:d26c1b55cfca 42 #define LOG_NOTICE (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
DieterGraef 0:d26c1b55cfca 43 #define LOG_WARNING (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
DieterGraef 0:d26c1b55cfca 44 #define LOG_INFO (PPP_DEBUG)
DieterGraef 0:d26c1b55cfca 45 #define LOG_DETAIL (PPP_DEBUG)
DieterGraef 0:d26c1b55cfca 46 #define LOG_DEBUG (PPP_DEBUG)
DieterGraef 0:d26c1b55cfca 47
DieterGraef 0:d26c1b55cfca 48
DieterGraef 0:d26c1b55cfca 49 #define TRACELCP PPP_DEBUG
DieterGraef 0:d26c1b55cfca 50
DieterGraef 0:d26c1b55cfca 51 #if PPP_DEBUG
DieterGraef 0:d26c1b55cfca 52
DieterGraef 0:d26c1b55cfca 53 #define AUTHDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:d26c1b55cfca 54 #define IPCPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:d26c1b55cfca 55 #define UPAPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:d26c1b55cfca 56 #define LCPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:d26c1b55cfca 57 #define FSMDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:d26c1b55cfca 58 #define CHAPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:d26c1b55cfca 59 #define PPPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:d26c1b55cfca 60
DieterGraef 0:d26c1b55cfca 61 #else /* PPP_DEBUG */
DieterGraef 0:d26c1b55cfca 62
DieterGraef 0:d26c1b55cfca 63 #define AUTHDEBUG(a, b)
DieterGraef 0:d26c1b55cfca 64 #define IPCPDEBUG(a, b)
DieterGraef 0:d26c1b55cfca 65 #define UPAPDEBUG(a, b)
DieterGraef 0:d26c1b55cfca 66 #define LCPDEBUG(a, b)
DieterGraef 0:d26c1b55cfca 67 #define FSMDEBUG(a, b)
DieterGraef 0:d26c1b55cfca 68 #define CHAPDEBUG(a, b)
DieterGraef 0:d26c1b55cfca 69 #define PPPDEBUG(a, b)
DieterGraef 0:d26c1b55cfca 70
DieterGraef 0:d26c1b55cfca 71 #endif /* PPP_DEBUG */
DieterGraef 0:d26c1b55cfca 72
DieterGraef 0:d26c1b55cfca 73 #endif /* PPPDEBUG_H */