资源简介

使用STM32CubeMX配置的ETH和LWIP, 写了简单的UDP回传测试

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    stm32f7xx_hal.c
  * @author  MCD Application Team
  * @brief   HAL module driver.
  *          This is the common part of the HAL initialization
  *
  @verbatim
  ==============================================================================
                     ##### How to use this driver #####
  ==============================================================================
    [..]
    The common HAL driver contains a set of generic and common APIs that can be
    used by the PPP peripheral drivers and the user to start using the HAL. 
    [..]
    The HAL contains two APIs‘ categories: 
         (+) Common HAL APIs
         (+) Services HAL APIs

  @endverbatim
  ******************************************************************************
  * @attention
  *
  * 

© Copyright (c) 2017 STMicroelectronics.
  * All rights reserved.


  *
  * This software component is licensed by ST under BSD 3-Clause license
  * the “License“; You may not use this file except in compliance with the
  * License. You may obtain a copy of the License at:
  *                        opensource.org/licenses/BSD-3-Clause
  *
  ******************************************************************************
  */ 

/* Includes ------------------------------------------------------------------*/
#include “stm32f7xx_hal.h“

/** @addtogroup STM32F7xx_HAL_Driver
  * @{
  */

/** @defgroup HAL HAL
  * @brief HAL module driver.
  * @{
  */

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/** @addtogroup HAL_Private_Constants
  * @{
  */
/**
 * @brief STM32F7xx HAL Driver version number V1.2.7
   */
#define __STM32F7xx_HAL_VERSION_MAIN   (0x01) /*!< [31:24] main version */
#define __STM32F7xx_HAL_VERSION_SUB1   (0x02) /*!< [23:16] sub1 version */
#define __STM32F7xx_HAL_VERSION_SUB2   (0x07) /*!< [15:8]  sub2 version */
#define __STM32F7xx_HAL_VERSION_RC     (0x00) /*!< [7:0]  release candidate */ 
#define __STM32F7xx_HAL_VERSION         ((__STM32F7xx_HAL_VERSION_MAIN << 24)\
                                        |(__STM32F7xx_HAL_VERSION_SUB1 << 16)\
                                        |(__STM32F7xx_HAL_VERSION_SUB2 << 8 )\
                                        |(__STM32F7xx_HAL_VERSION_RC))
                                        
#define IDCODE_DEVID_MASK    ((uint32_t)0x00000FFF)
/**
  * @}
  */

/* Private macro -------------------------------------------------------------*/
/* Exported variables ---------------------------------------------------------*/
/** @addtogroup HAL_Exported_Variables
  * @{
  */
__IO uint32_t uwTick;
uint32_t uwTickPrio   = (1UL << __NVIC_PRIO_BITS); /* Invalid PRIO */
HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT;  /* 1

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-11-07 23:03  stm32_lwip\
     文件       36980  2019-11-07 23:03  stm32_lwip\.mxproject
     目录           0  2019-11-07 20:57  stm32_lwip\Drivers\
     目录           0  2019-11-07 23:03  stm32_lwip\Drivers\CMSIS\
     目录           0  2019-11-07 20:57  stm32_lwip\Drivers\CMSIS\Device\
     目录           0  2019-11-07 20:57  stm32_lwip\Drivers\CMSIS\Device\ST\
     目录           0  2019-11-07 23:03  stm32_lwip\Drivers\CMSIS\Device\ST\STM32F7xx\
     目录           0  2019-11-07 23:03  stm32_lwip\Drivers\CMSIS\Device\ST\STM32F7xx\Include\
     文件     1643362  2019-04-10 19:43  stm32_lwip\Drivers\CMSIS\Device\ST\STM32F7xx\Include\stm32f767xx.h
     文件        8848  2019-04-10 19:43  stm32_lwip\Drivers\CMSIS\Device\ST\STM32F7xx\Include\stm32f7xx.h
     文件        3818  2019-04-10 19:43  stm32_lwip\Drivers\CMSIS\Device\ST\STM32F7xx\Include\system_stm32f7xx.h
     目录           0  2019-11-07 23:03  stm32_lwip\Drivers\CMSIS\Device\ST\STM32F7xx\Source\
     目录           0  2019-11-07 23:03  stm32_lwip\Drivers\CMSIS\Device\ST\STM32F7xx\Source\Templates\
     目录           0  2019-11-07 23:03  stm32_lwip\Drivers\CMSIS\Include\
     文件       28208  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\cmsis_armcc.h
     文件       56497  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\cmsis_armclang.h
     文件        9014  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\cmsis_compiler.h
     文件       62344  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\cmsis_gcc.h
     文件       28414  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\cmsis_iccarm.h
     文件        1716  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\cmsis_version.h
     文件       97995  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_armv8mbl.h
     文件      168914  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_armv8mml.h
     文件       42208  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm0.h
     文件       50464  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm0plus.h
     文件       43456  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm1.h
     文件      104628  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm23.h
     文件      111854  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm3.h
     文件      175600  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm33.h
     文件      123607  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm4.h
     文件      148588  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_cm7.h
     文件       47249  2019-04-10 19:44  stm32_lwip\Drivers\CMSIS\Include\core_sc000.h
............此处省略304个文件信息

评论

共有 条评论