资源简介
基于STM32F103在KEIL环境下用W5500模块实现的带(或不带)操作系统通过TCP、UDP协议收发的工程(TCP为服务器端),附带TCPUDP调试工具。
具体功能:调试工具连接上32的服务器后,向其发送1灯亮并返回操作成功,0则灯灭返回操作成功,发送其他数字返回发送错误。(灯的GPIO口自行根据开发板修改)
代码片段和文件信息
/**************************************************************************//**
* @file core_cm3.c
* @brief CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version V1.30
* @date 30. October 2009
*
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* @par
* ARM Limited (ARM) is supplying this software for use with Cortex-M
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* @par
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
/* ################### Compiler specific Intrinsics ########################### */
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */
/**
* @brief Return the Process Stack Pointer
*
* @return ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param topOfProcStack Process Stack Pointer
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @return Main Stack Pointer
*
* Return the curren
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 17273 2010-06-07 10:25 TCPUDP\FreeRTOS-TCP服务器\CMSIS\core_cm3.c
文件 85714 2011-02-09 14:59 TCPUDP\FreeRTOS-TCP服务器\CMSIS\core_cm3.h
文件 15766 2011-03-10 10:52 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_cl.s
文件 15503 2011-03-10 10:52 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_hd.s
文件 15692 2011-03-10 10:52 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_hd_vl.s
文件 12376 2011-03-10 10:52 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_ld.s
文件 13656 2011-03-10 10:52 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_ld_vl.s
文件 12765 2011-03-10 10:52 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_md.s
文件 14073 2011-03-10 10:51 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_md_vl.s
文件 15955 2011-03-10 10:51 TCPUDP\FreeRTOS-TCP服务器\CMSIS\startup\arm\startup_stm32f10x_xl.s
文件 633933 2013-07-30 23:52 TCPUDP\FreeRTOS-TCP服务器\CMSIS\stm32f10x.h
文件 36557 2011-03-10 10:51 TCPUDP\FreeRTOS-TCP服务器\CMSIS\system_stm32f10x.c
文件 2085 2011-03-10 10:51 TCPUDP\FreeRTOS-TCP服务器\CMSIS\system_stm32f10x.h
文件 15771 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\croutine.c
文件 23996 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\event_groups.c
文件 12209 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\heap_2.c
文件 29133 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\croutine.h
文件 10168 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\deprecated_definitions.h
文件 29489 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\event_groups.h
文件 27060 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\FreeRTOS.h
文件 6316 2018-06-28 16:02 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\FreeRTOSConfig.h
文件 21169 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\list.h
文件 8761 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\mpu_wrappers.h
文件 8684 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\portable.h
文件 8682 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\portmacro.h
文件 7932 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\projdefs.h
文件 63093 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\queue.h
文件 34109 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\semphr.h
文件 8550 2015-10-16 21:12 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\StackMacros.h
文件 850 2014-01-13 18:23 TCPUDP\FreeRTOS-TCP服务器\FreeRTOS\include\stdint.readme
............此处省略823个文件信息
- 上一篇:有限单元法_王勖成.
- 下一篇:基于数字光栅的结构光三维测量技术与系统研究
相关资源
- S32K144芯片基于FreeRTOS的SPI通信
- stm32f103C8 USB串口+FreeRTOS+ADC
- STM32+FreeRtos+Lwip+ENC28J60
- GD32F4xx单片机-FreeRTOS10.2.0-LWIP2.0.2移植
- LWIP-freertos.rarSTM32F7芯片,lwip实现热插
- STM32F407+FREERTOS+LWIP+RMII_KSZ8031+SDIO_FATF
- STM32F4x7+freertos+lwip+ssl+MQTT(MDK5)源码
- CMSIS-RTOS API参考手册
- 20171105-FreeRTOS.exe(官方原版文件)
- S32K144芯片基于FreeRTOS的低功耗
- 最全的FreeRTOS资料.pdf
- FreeRTOS_emWin.rar
- STM32嵌入式系统开发实战指南 FreeRTO
- FreeRTOS和FreeMODBUS移植到STM32F407傻瓜教
- STM32F4x7+freertos+lwip+ssl+MQTT-(MDK5)稳定
- STM32_FreeRTOS+STemWin+FatFS+USB Host
- FreeRTOS源码详解与应用开发 基于STM3
- FreeRTOS V8.2.3(官方原版)
- 基于STM32407 SX1262驱动
- 周立功TCP、UDP、单播、组播、广播测
- FreeRTOSv10.2.1源码
- 正点原子STM32F429 FreeRTOS+emWin+FATFS综合
- STM32F429(IAR)+FreeRTOS+TouchGFX.rar
- esp8266的SDK开发 TCP、UDP服务器端
- 飞思卡尔s12g128移植最新的FreeRTOS_V10
- 基于FreeRTOS的FreeModbus移植
- TCP、UDP协议服务端
- hal库硬件spi&模拟spi通信rn8209
- FreeRTOS在AVR上的移植
- 使用STM32Cube开发freertos官方中文
评论
共有 条评论