资源简介
这是公司实际项目工程(编译器用DK5),STM32F4x7+freertos+lwip+ssl+MQTT,其中MQTT自己花了一个礼拜移植,可以同时发布消息和订阅消息(发布主题:DongLuTest,订阅主题:mymqttsubtest),经过长期测试MQTT运行稳定。此外还移植了pollarSSL(TSL,AES,DES,RAS等等算法都经过项目测试,没有问题),另外LWIP网络部分也运行稳定,支持随时插拔网线,最后公司所有运行信息可用printf从串口1输出(测试MQTT就可以打开串口,收到的订阅消息在串口打印出来)。公司产品用的是STM32F407,LAN芯片为8720A,cpu外接8M晶振,所有下载到你的开发板上时候注意修改晶振。
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @version V1.0.2
* @date 05-March-2012
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
* This file contains the system clock configuration for STM32F4xx devices
* and is generated by the clock configuration tool
* stm32f4xx_Clock_Configuration_V1.0.1.xls
*
* 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 STM32F4xx device revision | Rev A
*-----------------------------------------------------------------------------
* System Clock source | PLL (HSE)
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 168000000
*-----
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 51511 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\CMSIS END USER LICENCE AGREEMENT.pdf
文件 544860 2017-11-29 13:23 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
文件 2234 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
文件 24989 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Release_Notes.html
文件 29637 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f4xx.s
文件 24087 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc_ride7\startup_stm32f4xx.s
文件 24692 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f40xx.s
文件 25690 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f427x.s
文件 24679 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f4xx.s
文件 21856 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
文件 3672 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\TASKING\cstart_thumb2.asm
文件 24157 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\TrueSTUDIO\startup_stm32f4xx.s
文件 8469 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\annotated.html
文件 702 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\bc_s.png
文件 922 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\check.png
文件 10378 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\classes.html
文件 126 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\closed.png
文件 13737 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\cmsis.css
文件 20924 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\CMSIS_CORE_Files.png
文件 10053 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\CMSIS_CORE_Files_user.png
文件 12402 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\CMSIS_Logo_Final.png
文件 33903 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\device_h_pg.html
文件 4008 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\doxygen.png
文件 82 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\ftv2blank.png
文件 766 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\ftv2doc.png
文件 567 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\ftv2folderclosed.png
文件 599 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\ftv2folderopen.png
文件 82 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\ftv2lastnode.png
文件 766 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\ftv2li
文件 219 2013-07-31 16:49 STM32F4x7_ETH_LwIP_V1.1.1\Libraries\CMSIS\Documentation\Core\html\ftv2mlastnode.png
............此处省略1560个文件信息
- 上一篇:多源信息融合_韩崇昭
- 下一篇:va_x_setup.rar
相关资源
- S32K144使用printf格式化输出
- ESP32蓝牙架构官方
- STM32F4x7_ETH_LwIP_V1.0.0
- STM32L476 FreeRTOS系统移植项目
- Design and Implementation of the lwIP TCP_IP S
- 中英两版FreeRTOS_Reference_Manual_V10.0.0.
- 周立功之LwIP的rawapi接口及编程指南,
- lwip+udp项目
- STM32F103_FREERTOS_MPU6050DMP_USART_Timer输入捕
- LwIP应用开发实战指南—基于野火+ST
- STM32F427 + LAN8710 STM32CubeMX4.25.0工程配置
- FreeRTOS 采样ADC-20200413.zip
- 基于SMT32 CubeMX的FreeRTOS工程创建及Fr
- STM32F767+FreeRTOS+LWIP移植成功(工程文件
- zcu102用lwip实现TCP传输
- STM32+FreeRTOS+W5500+MQTT
- STM32实现Web服务器
- stm32 lwip DNS DHCP ucosIII TCP Client 原创程
- STM32F207VC lwip ucosiii移植工程
- zynq++88E1111的lwip
- FreeRTOS移植工程
- LWIP在NXP公司的LPC1768上的移植
- STM32F407+LWIP+DP83848+多端口
- stm32f407 ili9341屏幕驱动 HAL库 带FreeR
- 实验1 跑马灯FreeRTOS实验.zip
- STM32_F1系列FreeRTOS工程模板
- lwip_ping.rar
- LPC1766 Lwip UDP
- DM9000+LWIP
- STM32F407FreeRTOS开发手册V1_0
评论
共有 条评论