打印
[应用相关]

如何在 STM32Cube 帮助下开发基于RTOS的应用

[复制链接]
1118|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
en.DM00105262.pdf (710.15 KB)

IntroductionThe STMCubeTM initiative was originated by STMicroelectronics to ease developers life byreducing development efforts, time and cost. STM32Cube covers the STM32 portfolio.STM32Cube Version 1.x includes:• The STM32CubeMX, a graphical software configuration tool that allows to generate Cinitialization code using graphical wizards.• A comprehensive embedded software platform, delivered per series (namely,STM32CubeF4 for STM32F4 series)– The STM32Cube HAL, an STM32 abstraction layer embedded software, ensuringmaximized portability across STM32 portfolio– A consistent set of middleware components such as RTOS, USB, TCP/IP,Graphics– All embedded software utilities coming with a full set of examples.A Real Time Operating System is an operating system optimized for use in embedded/realtime applications. Their primary objective is to ensure a timely and deterministic response toevents. Using a real time operating system allows applications to be written as a set ofindependent threads that inter-communicate using message queues and semaphores.This user manual is intended for developers who use STM32Cube firmware on STM32microcontrollers. It provides a full description of how to use the STM32Cube firmwarecomponents with a real time operating system (RTOS); this user manual comes also withdescription of a set of examples based on FreeRTOS using the common APIs provided bythe CMSIS-OS wrapping layer.In the STM32Cube firmware FreeRTOS is used as real time operating system through thegeneric CMSIS-OS wrapping layer provided by ARM. Examples and applications using theFreeRTOS can be direcltly ported on any other RTOS without modifying the high level APIs,only the CMSIS-OS wrapper has to be changed in this case.Please refer to the release notes of the package to know the version of FreeRTOS andCMSIS-RTOS firmware components used with the STM32CubeTM.This document is applicable to all STM32 devices; however for simplicity reason, theSTM32F4xx devices and STM32CubeF4 are used as reference platform. To know moreabout the examples implementation on your STM32 device, please refer to the readme fileprovided within the associated STM32Cube FW package.  
沙发
yiyigirl2014|  楼主 | 2016-8-20 12:05 | 只看该作者

这个是目录,我们可以看出都有哪些内容。

使用特权

评论回复
板凳
yiyigirl2014|  楼主 | 2016-8-20 12:06 | 只看该作者

FreeRTOS的结构图。
The core RTOS code is contained in three files, called tasks.c, queue.c and list.c., in theFreeRTOS/Source directory. The same directory contains two optional files called timers.cand croutine.c which implement software timer and co-routine functionality. Each supportedprocessor architecture requires a small amount of architecture specific RTOS code. This isthe RTOS portable layer, located in the FreeRTOS/Source/Portable/[compiler]/[architecture]sub directories, where [compiler] and [architecture] are the compiler used to create the port,and the architecture on which the port runs, respectively.

使用特权

评论回复
地板
yiyigirl2014|  楼主 | 2016-8-20 12:07 | 只看该作者
具体是先做什么再做什么,如何移植使用呢,下载资料慢慢看吧。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

213

主题

3536

帖子

10

粉丝