zoukankan
html css js c++ java
FreeRTOSv9.0.0在STM32F103RCT6上的移植
1、去官网下载源代码(FreeRTOSv9.0.0.exe)
2、取出Source文件夹,根据单片机和编译器不同,删除不需要的文件,如下图
3、在CORTEX_STM32F103_IAR文件夹中取出PartTest.c及相应头文件(方便测试,可不用),FreeRTOSConfig.h和main.c,根据需要修改里面内容,demo里使用的ST库是非常古老的,都不要使用。
4、把上述得到的文件添加到没有FreeRTOS的简单IAR工程里,添加三条#define到FreeRTOSConfig.h中,对main.c和PartTest.c稍作修改即可第一个例程。
查看全文
相关阅读:
设计模式系列之中介者模式(Mediator Pattern)——协调多个对象之间的交互
设计模式系列之外观模式(Facade Pattern)——提供统一的入口
设计模式系列之装饰模式(Decorator Pattern)——扩展系统功能
设计模式系列之组合模式(Composite Pattern)——树形结构的处理
设计模式系列之工厂模式三兄弟(Factory Pattern)
设计模式系列之建造者模式(Builder Pattern)——复杂对象的组装与创建
设计模式系列之原型模式(Prototype Pattern)——对象的克隆
动态追踪技术之SystemTap
一次内核 crash 的排查记录
LLVM Coding Standards
原文地址:https://www.cnblogs.com/god-of-death/p/6708912.html
最新文章
用set get与直接设为public有什么区别
Synchronized锁的是什么?
Cache写策略(Cache一致性问题与骚操作)
Cache地址映射与计算方式
互联网是如何连接的:计网概述
学习计算机组成原理有什么用,意义何在?
c语言没有try catch的替代方案
字符串匹配算法:KMP与BM
react-router-dom V5 使用指南(1)
React.createElement 与 JSX
热门文章
交换两个数的几种方法对比
react-router-dom 学习笔记
shelljs 前端自动化必备技能
IOS active 状态失效问题
【转载】npx 真香
【转载】提高访问 github 的速度
opentsdb探索之路——部分设计与实现
一文读懂Java中的动态代理
设计模式系列之代理模式(Proxy Pattern)——对象的间接访问
设计模式系列之享元模式(Flyweight Pattern)——实现对象的复用
Copyright © 2011-2022 走看看