OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [drivers/] [ST/] [STM32F10xFWLib/] [inc/] [stm32fxxx_eth_conf.h] - Blame information for rev 608

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 608 jeremybenn
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
2
* File Name          : stm32f_eth_conf.h
3
* Author             : MCD Application Team
4
* Version            : VX.Y.Z
5
* Date               : mm/dd/2008
6
* Description        : ETHERNET firmware library configuration file.
7
********************************************************************************
8
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
9
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
10
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
11
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
12
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
13
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
14
*******************************************************************************/
15
 
16
/* Define to prevent recursive inclusion -------------------------------------*/
17
#ifndef __STM32F_ETH_CONF_H
18
#define __STM32F_ETH_CONF_H
19
 
20
/* Includes ------------------------------------------------------------------*/
21
#include "stm32f10x_type.h"
22
/* Exported types ------------------------------------------------------------*/
23
/* Exported constants --------------------------------------------------------*/
24
/* Uncomment the line below to compile the ETHERNET firmware library in DEBUG mode,
25
   this will expanse the "assert_param" macro in the firmware library code (see
26
   "Exported macro" section below) */
27
/*#define ETH_DEBUG    1*/
28
 
29
/* Comment the line below to disable the specific peripheral inclusion */
30
/************************************* ETHERNET *******************************/
31
#define _ETH_MAC
32
//#define _ETH_PTP
33
//#define _ETH_MMC
34
#define _ETH_DMA
35
 
36
/* Exported macro ------------------------------------------------------------*/
37
#ifdef  ETH_DEBUG
38
/*******************************************************************************
39
* Macro Name     : eth_assert_param
40
* Description    : The eth_assert_param macro is used for ethernet function's parameters
41
*                  check.
42
*                  It is used only if the ethernet library is compiled in DEBUG mode.
43
* Input          : - expr: If expr is false, it calls assert_failed function
44
*                    which reports the name of the source file and the source
45
*                    line number of the call that failed.
46
*                    If expr is true, it returns no value.
47
* Return         : None
48
*******************************************************************************/
49
  #define eth_assert_param(expr) ((expr) ? (void)0 : assert_failed((u8 *)__FILE__, __LINE__))
50
/* Exported functions ------------------------------------------------------- */
51
  void assert_failed(u8* file, u32 line);
52
#else
53
  #define eth_assert_param(expr) ((void)0)
54
#endif /* ETH_DEBUG */
55
 
56
#endif /* __STM32F_ETH_CONF_H */
57
 
58
/******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.