## 简介

• 设备驱动框架；
• 软件组件；
• 应用模块

• shell命令行；
• 虚拟文件系统；
• TCP/IP网络协议栈；
• 设备驱动框架；
• Libc/POSIX标准层。

## 支持的芯片架构

• ARM Cortex-M0
• ARM Cortex-M3/M4/7
• ARM Cortex-R4
• ARM Cortex-A8/A9
• ARM920T/ARM926 etc
• MIPS32
• x86
• Andes
• C-Sky
• RISC-V
• PowerPC

## 许可证

RT-Thread is free software; you can redistribute it and/or modify it under terms of the GNU General Public License version 2 as published by the Free Software Foundation. RT-Thread RTOS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with RT-Thread; see file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

As a special exception, including RT-Thread RTOS header files in a file, instantiating RT-Thread RTOS generics or templates, or linking other files with RT-Thread RTOS objects to produce an executable application, does not by itself cause the resulting executable application to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Public License.

## 编译

• CROSS_TOOL 指定希望使用的工具链，例如gcc/keil/iar.
• EXEC_PATH 工具链的路径.

RTT_ROOT 这个变量指向了RT-Thread的发布源代码根目录。如果你仅计划编译bsp目录下的target，这个RTT_ROOT可以使用默认配置。另外，你也可以设置同名的环境变量来指向不同的RT-Thread源代码根目录。

scons


scons --target=mdk/mdk4/mdk5/iar/cb -s