1、在Linux虚拟机上创建arm交叉编译环境
# sudo apt-get update
# sudo apt-get upgrade
# sudo apt-get install build-essential git
# sudo apt-get install gcc-arm-none-eabi
2、把FreeRTOS例程clone到虚拟机并编译例程
# cd STM32F429_Discovery_FreeRTOS_9/Projects/Hello_RTOS/
# make
生成hello_rtos.hex文件
原文:http://www.cnblogs.com/harryhust369/p/7529117.html