一步步写STM32 OS【二】环境搭建
一、安装IAR for ARM6.5
本文引用地址://m.amcfsurvey.com/article/201701/342699.htm二、新建工程
1、选择处理器:STM32F407VG,暂不使用FPU
![iar_1_thumb1](http://editerupload.eepw.com.cn/201701/6611484010516.png)
2、必要的路径配置和宏定义
![iar_2_thumb2](http://editerupload.eepw.com.cn/201701/42531484010516.png)
3、使用SWO重定向IO输出
![iar_3_thumb1](http://editerupload.eepw.com.cn/201701/13611484010517.png)
4、使用ST-LINK仿真器
![iar_4_thumb1](http://editerupload.eepw.com.cn/201701/43551484010517.png)
5、下载配置
![iar_5_thumb1](http://editerupload.eepw.com.cn/201701/15311484010517.png)
6、设置CPU频率,防止SWO输出乱码
![iar_6_thumb1](http://editerupload.eepw.com.cn/201701/1861484010517.png)
三、代码调试
![iar_7_thumb1](http://editerupload.eepw.com.cn/201701/19221484010517.png)
四、工程下载
一、安装IAR for ARM6.5
本文引用地址://m.amcfsurvey.com/article/201701/342699.htm二、新建工程
1、选择处理器:STM32F407VG,暂不使用FPU
2、必要的路径配置和宏定义
3、使用SWO重定向IO输出
4、使用ST-LINK仿真器
5、下载配置
6、设置CPU频率,防止SWO输出乱码
三、代码调试
四、工程下载
评论