# RT-Thread #
[中文页](README_zh.md) |
[![Build Status](https://travis-ci.org/RT-Thread/rt-thread.svg)](https://travis-ci.org/RT-Thread/rt-thread)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/RT-Thread/rt-thread?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
RT-Thread is an open source IoT operating system from China, which has strong scalability: from a tiny kernel running on a tiny core, for example ARM Cortex-M0, or Cortex-M3/4/7, to a rich feature system running on MIPS32, ARM Cortex-A8, ARM Cortex-A9 DualCore etc.
## Overview ##
RT-Thread RTOS like a traditional real-time operating system. The kernel has real-time multi-task scheduling, semaphore, mutex, mail box, message queue, signal etc. However, it has three different things:
* Device Driver;
* Component;
* Application Module
The device driver is more like a driver framework, UART, IIC, SPI, SDIO, USB device/host, EMAC, MTD NAND etc. The developer can easily add low level driver and board configuration, then combined with the upper framework, he/she can use lots of features.
The Component is a software concept upon RT-Thread kernel, for example a shell (finsh/msh shell), virtual file system (FAT, YAFFS, UFFS, ROM/RAM file system etc), TCP/IP protocol stack (lwIP), POSIX (thread) interface etc. One component must be a directory under RT-Thread/Components and one component can be descripted by a SConscript file (then be compiled and linked into the system).
The Appliation Module, or User Applicaion (UA) is a dyanmic loaded module, it can be compiled standalone without Kernel. Each UA has its own object container to manage thread/semaphore/kernel object which was created or initialized inside this UA. More information about UA, please visit another [git repo](https://github.com/RT-Thread/rtthread-apps).
## Board Support Package ##
RT-Thread RTOS can support many architectures:
* 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
## License ##
RT-Thread RTOS 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.
## Usage ##
RT-Thread RTOS uses [scons](http://www.scons.org) as building system. Therefore, please install scons and Python 2.7 firstly.
So far, the RT-Thread scons building system support the command line compile or generate some IDE's project. There are some option varaibles in the scons building script (rtconfig.py):
* ```CROSS_TOOL``` the compiler which you want to use, gcc/keil/iar.
* ```EXEC_PATH``` the path of compiler.
In SConstruct file:
```RTT_ROOT``` This variable is the root directory of RT-Thread RTOS. If you build the porting in the bsp directory, you can use the default setting. Also, you can set the root directory in ```RTT_ROOT``` environment variable and not modify SConstruct files.
When you set these variables correctly, you can use command:
scons
under BSP directory to simplely compile RT-Thread RTOS.
If you want to generate the IDE's project file, you can use command:
scons --target=mdk/mdk4/mdk5/iar/cb -s
to generate the project file.
NOTE: RT-Thread scons building system will tailor the system according to your rtconfig.h configuration header file. For example, if you disable the lwIP in the rtconfig.h by commenting the ```#define RT_USING_LWIP```, the generated project file should have no lwIP related files.
## Contribution ##
Please refer the contributors in the github. Thank all of RT-Thread Developers.
没有合适的资源?快使用搜索试试~ 我知道了~
RT-Thread Simulator 例程
共320个文件
h:133个
c:104个
s:43个
需积分: 1 0 下载量 10 浏览量
2024-01-03
10:17:18
上传
评论
收藏 2.02MB RAR 举报
温馨提示
https://gitee.com/rtthread/docs-online/raw/master/rt-thread-version/rt-thread-standard/tutorial/quick-start/stm32f103-simulator/rtthread_simulator_v0.1.0.7z 发现很多官方例程需要很高的积分,没必要啊,上面是官方例程的链接,但我访问有时候会失效,所以我这边传一份,各位先试试我给的链接,如果能下载,就不要浪费一个积分了
资源推荐
资源详情
资源评论
收起资源包目录
RT-Thread Simulator 例程 (320个子文件)
AUTHORS 616B
stm32f1xx_hal_i2c.c 173KB
stm32f1xx_hal_tim.c 166KB
stm32f1xx_hal_spi.c 103KB
stm32f1xx_hal_sd.c 90KB
stm32f1xx_hal_uart.c 87KB
stm32f1xx_hal_mmc.c 84KB
stm32f1xx_hal_adc.c 81KB
stm32f1xx_hal_usart.c 80KB
stm32f1xx_hal_irda.c 74KB
stm32f1xx_hal_eth.c 73KB
stm32f1xx_hal_smartcard.c 68KB
stm32f1xx_ll_usb.c 68KB
stm32f1xx_hal_tim_ex.c 63KB
stm32f1xx_hal_nand.c 62KB
ipc.c 61KB
stm32f1xx_hal_can.c 56KB
stm32f1xx_hal_adc_ex.c 53KB
stm32f1xx_hal_rtc.c 53KB
stm32f1xx_hal_i2s.c 49KB
stm32f1xx_ll_sdmmc.c 49KB
stm32f1xx_hal_rcc.c 48KB
stm32f1xx_ll_tim.c 46KB
stm32f1xx_ll_adc.c 42KB
stm32f1xx_hal_pcd.c 40KB
stm32f1xx_hal_flash_ex.c 38KB
stm32f1xx_ll_fsmc.c 36KB
stm32f1xx_hal_hcd.c 35KB
stm32f1xx_hal_nor.c 34KB
stm32f1xx_hal_dac.c 33KB
kservice.c 33KB
stm32f1xx_hal_rcc_ex.c 32KB
cmd.c 31KB
stm32f1xx_hal_flash.c 31KB
stm32f1xx_hal_dma.c 29KB
stm32f1xx_hal_dac_ex.c 25KB
stm32f1xx_hal_pccard.c 24KB
memheap.c 24KB
stm32f1xx_ll_utils.c 24KB
shell.c 23KB
stm32f1xx_hal_sram.c 23KB
drv_gpio.c 23KB
thread.c 23KB
stm32f1xx_hal_gpio.c 22KB
stm32f1xx_hal_pwr.c 22KB
stm32f1xx_ll_spi.c 22KB
stm32f1xx_hal_cec.c 22KB
mem.c 21KB
stm32f1xx_hal.c 20KB
stm32f1xx_hal_cortex.c 20KB
timer.c 19KB
stm32f1xx_ll_rtc.c 19KB
stm32f1xx_ll_usart.c 18KB
stm32f1xx_hal_rtc_ex.c 18KB
stm32f1xx_ll_rcc.c 16KB
system_stm32f1xx.c 16KB
object.c 15KB
stm32f1xx_ll_dma.c 14KB
msh.c 14KB
serial.c 13KB
stm32f1xx_hal_wwdg.c 13KB
device.c 13KB
signal.c 13KB
drv_usart.c 13KB
mempool.c 12KB
scheduler.c 12KB
stm32f1xx_ll_dac.c 12KB
stm32f1xx_hal_crc.c 11KB
cpuport.c 10KB
stm32f1xx_hal_iwdg.c 10KB
msh_cmd.c 10KB
stm32f1xx_ll_gpio.c 9KB
stm32f1xx_hal_spi_ex.c 9KB
stm32f1xx_ll_i2c.c 9KB
stm32f1xx_ll_exti.c 9KB
stm32f1xx_hal_pcd_ex.c 9KB
idle.c 7KB
components.c 7KB
stm32f1xx_hal_gpio_ex.c 5KB
pin.c 5KB
stm32f1xx_it.c 5KB
priority_inversion.c 4KB
msh_file.c 4KB
stm32f1xx_ll_crc.c 4KB
producer_consumer.c 4KB
msgq_sample.c 4KB
stm32f1xx_ll_pwr.c 4KB
board.c 4KB
mailbox_sample.c 3KB
irq.c 3KB
clock.c 3KB
event_sample.c 3KB
mutex_sample.c 3KB
semaphore_sample.c 3KB
symbol.c 3KB
memp_sample.c 2KB
thread_sample.c 2KB
idlehook_sample.c 2KB
scheduler_hook.c 2KB
dynmem_sample.c 2KB
共 320 条
- 1
- 2
- 3
- 4
资源评论
Michael.Ke
- 粉丝: 22
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 通道处理过程的模拟通常涉及对通道处理机制的理解与实现.txt
- Flume进阶-自定义拦截器jar包
- Dubins曲线算法讲解和在运动规划中的使用.pdf
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.dta
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.xlsx
- Reeds+Shepp曲线算法讲解和实现.pdf
- 毕业设计基于SpringBoot+MyBatisPlus+MySQL+Vue的外卖配送信息系统源代码+数据库
- 词向量(Word Embeddings)是自然语言处理(NLP)领域的一种重要技术.txt
- Surfer,线性函数
- MyBatis 的动态 SQL 是其核心特性之一.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功