RTCSD2017第一次作业——赵宏伟U201410699
作业:
在Linux虚拟机上创建arm交叉编译环境:
在虚拟机上安装ubuntu-16.04.2-desktop-amd64(推荐版本)
更新系统并安装相关软件:
更新系统并安装相关软件:
# sudo apt-get update
# sudo apt-get upgrade
# sudo apt-get install build-essential git
# sudo apt-get upgrade
# sudo apt-get install build-essential git
# sudo apt-get install gcc-arm-none-eabi
把FreeRTOS例程clone到虚拟机并编译例程
# git clone https://github.com/cbhust/STM32F429_Discovery_FreeRTOS_9.git
# cd STM32F429_Discovery_FreeRTOS_9/Projects/Hello_RTOS/
# make
# make
如生成hello_rtos.hex文件,说明编译环境搭建成功并编译成功。
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210516438-2097758575.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210619485-600915796.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210637875-2122612650.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210712141-1252106704.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210725500-540810137.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210748547-2004297402.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210756750-2115046344.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210802547-1883197868.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210811922-1916292047.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210817500-916790369.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210823063-303558361.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210828703-1425744165.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210834344-64365944.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210841297-1685716942.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210846953-1026188402.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210852985-1093384597.png)
![](https://images2017.cnblogs.com/blog/1240414/201709/1240414-20170917210857782-1973456604.png)