STM32F407+FREERTOS+LWIP+RMII_KSZ8031+SDIO_FATFS+18B20+CAN+USART


此STM32F407_DEMO工程整合了FreeRtos与LWIP协议栈,还移植了文件系统,并编写了一个嵌入式WebServer测试整个工程。使用的PHY型号为KSZ8031,修改PHY的寄存器地址可直接用于其它种类的PHY(RMII)。本DEMO还有IO、CAN、USART测试程序。
资源截图
代码片段和文件信息
/**
  ******************************************************************************
  * @file    system_stm32f4xx.c
  * @author  MCD Application Team
  * @version V1.4.0
  * @date    04-August-2014
  * @brief   CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
  *          This file contains the system clock configuration for STM32F4xx devices.
  *             
  * 1.  This file provides two functions and one global variable to be called from 
  *     user application:
  *      - SystemInit(): Setups the system clock (System clock source PLL Multiplier
  *                      and Divider factors AHB/APBx prescalers and Flash settings)
  *                      depending on the configuration made in the clock xls tool. 
  *                      This function is called at startup just after reset and 
  *                      before branch to main program. This call is made inside
  *                      the “startup_stm32f4xx.s“ file.
  *
  *      - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
  *                                  by the user application to setup the SysTick 
  *                                  timer or configure other parameters.
  *                                     
  *      - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
  *                                 be called whenever the core clock is changed
  *                                 during program execution.
  *
  * 2. After each device reset the HSI (16 MHz) is used as system clock source.
  *    Then SystemInit() function is called in “startup_stm32f4xx.s“ file to
  *    configure the system clock before to branch to main program.
  *
  * 3. If the system clock source selected by user fails to startup the SystemInit()
  *    function will do nothing and HSI still used as system clock source. User can 
  *    add some code to deal with this issue inside the SetSysClock() function.
  *
  * 4. The default value of HSE crystal is set to 25MHz refer to “HSE_VALUE“ define
  *    in “stm32f4xx.h“ file. When HSE is used as system clock source directly or
  *    through PLL and you are using different crystal you have to adapt the HSE
  *    value to your own configuration.
  *
  * 5. This file configures the system clock as follows:
  *=============================================================================
  *=============================================================================
  *                    Supported STM32F40xxx/41xxx devices
  *-----------------------------------------------------------------------------
  *        System Clock source                    | PLL (HSE)
  *-----------------------------------------------------------------------------
  *        SYSCLK(Hz)                             | 168000000
  *-----------------------------------------------------------------------------
  *        HCLK(Hz)                       

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-03-07 12:34  STM32F407+NETCMSIS
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISDevice
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISDeviceST
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISDeviceSTSTM32F4xx
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISDeviceSTSTM32F4xxInclude
     文件      704094  2017-01-09 11:01  STM32F407+NETCMSISDeviceSTSTM32F4xxIncludestm32f4xx.h
     文件        2233  2014-08-01 22:30  STM32F407+NETCMSISDeviceSTSTM32F4xxIncludesystem_stm32f4xx.h
     文件       36887  2014-08-04 20:07  STM32F407+NETCMSISDeviceSTSTM32F4xxRelease_Notes.html
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISDeviceSTSTM32F4xxSource
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplates
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarm
     文件       29605  2014-08-02 00:12  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f40_41xxx.s
     文件       25817  2014-08-02 00:12  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f401xx.s
     文件       29694  2014-08-02 00:12  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f40xx.s
     文件       26517  2014-08-02 00:10  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f411xe.s
     文件       30979  2014-08-02 00:12  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f427_437xx.s
     文件       31054  2014-08-02 00:12  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f427x.s
     文件       31134  2014-08-02 00:12  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatesarmstartup_stm32f429_439xx.s
     文件       47778  2016-08-19 11:39  STM32F407+NETCMSISDeviceSTSTM32F4xxSourceTemplatessystem_stm32f4xx.c
     目录           0  2019-03-07 12:34  STM32F407+NETCMSISInclude
     文件        4676  2014-07-17 21:52  STM32F407+NETCMSISIncludearm_common_tables.h
     文件        3666  2014-07-17 21:52  STM32F407+NETCMSISIncludearm_const_structs.h
     文件      242444  2014-07-17 21:52  STM32F407+NETCMSISIncludearm_math.h
     文件       33042  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_cm0.h
     文件       40429  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_cm0plus.h
     文件       99832  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_cm3.h
     文件      109142  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_cm4.h
     文件       22735  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_cm4_simd.h
     文件       17146  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_cmFunc.h
     文件       20513  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_cmInstr.h
     文件       41744  2014-07-17 21:52  STM32F407+NETCMSISIncludecore_sc000.h
............此处省略650个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)