如何将freertos移植到stm32board,嵌入式编程。 ? [英] How to port freertos to stm32board, embedded prog. ?

查看:98
本文介绍了如何将freertos移植到stm32board,嵌入式编程。 ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Need help with porting freeRTOS on stm32 and making application with CMSIS which inputs uart package:
0xAA - preamble
0x55 - preamble
byte - GPIO number
byte - LSB bit 
0xEE - trailer, command will be executed when this byte is received

and sets the state of LSB bit from 4th  byte to GPIO defined with 3rd byte from uart package. 





我的尝试:



我是个大人物,这是我的首发任务。我不得不使用STM32CubeMx工具,我安装了,CMSIS lib,也下载了,我有点不知道从CubeMX选择哪个板,当我选择发现板并尝试生成代码到Keil uvision 5我得到一些def和libs不包括在内,我的代码没有显示。 Dunno如果Keil甚至是一个不错的选择,它就在我的手上......我只是在探索,感觉有点迷茫,但我想找到自己:D



干杯



What I have tried:

I am a biginner and this is my starting assignment. I had to use STM32CubeMx tool, which i installed, and CMSIS lib, also downloaded,i kind dont know which board from CubeMX to pick and when i pick discovery board and try to generate code to the Keil uvision 5 i get that some def and libs arent included and my code doesnt show. Dunno if Keil is even a good pick, it was on my on hand...i was just exploring, and feeling kind a lost in all this but i would like to find my self :D

Cheers

推荐答案

FreeRTOS不需要移植到STM32。 FreeRTOS网站上有很多演示,而且FreeRTOS包含在CubeMX软件中。



很抱歉问这个显而易见的,但是你读过CubeMX入门指南吗?或谷歌STM32CubeMX教程 - 或类似的东西?谷歌搜索带来了很多点击,包括 FreeRTOS网站上的链接工作流程概述。
FreeRTOS does not need porting to STM32. There are lots of demos on the FreeRTOS website, and FreeRTOS is included in the CubeMX software.

Sorry to ask the obvious, but did you read the CubeMX getting started guide or Google "STM32CubeMX tutorial" - or something like that? Googling that brings up lots of hits, including a link on the FreeRTOS website that has an overview of the workflow.


这篇关于如何将freertos移植到stm32board,嵌入式编程。 ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆