# RT-Thread #
[![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 real-time operating system for embedded devices 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 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 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
* MIPS
* x86
* 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.
没有合适的资源?快使用搜索试试~ 我知道了~
stm32f103+串口通信的写法
共360个文件
c:64个
h:62个
o:56个
需积分: 10 0 下载量 16 浏览量
2022-08-05
09:29:09
上传
评论
收藏 9.2MB ZIP 举报
温馨提示
stm32f103+串口通信的写法
资源详情
资源评论
资源推荐
收起资源包目录
stm32f103+串口通信的写法 (360个子文件)
Temp.uvguix.Administrator 182KB
AUTHORS 616B
Temp.axf 438KB
stm32f10x_tim.c 107KB
stm32f10x_flash.c 61KB
ipc.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
kservice.c 34KB
cmd.c 31KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
memheap.c 24KB
stm32f10x_gpio.c 23KB
shell.c 23KB
thread.c 22KB
mem.c 22KB
timer.c 19KB
stm32f10x_dac.c 19KB
Stm32Driver.c 18KB
core_cm3.c 17KB
core_cm3.c 17KB
object.c 17KB
msh.c 14KB
signal.c 13KB
mempool.c 13KB
scheduler.c 13KB
device.c 12KB
stm32f10x_cec.c 11KB
cpuport.c 10KB
msh_cmd.c 10KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
idle.c 7KB
cpuport.c 7KB
cpuport.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
components.c 7KB
motor.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
Usart.c 5KB
DJ_server.c 4KB
msh_file.c 4KB
cpuport.c 4KB
irq.c 3KB
clock.c 3KB
stm32f10x_crc.c 3KB
stm32f10x_it.c 3KB
SysTick.c 3KB
ultrasonic.c 3KB
board.c 3KB
symbol.c 3KB
main.c 2KB
TIMx.c 1KB
led.c 539B
System.c 442B
COPYING 18KB
stm32driver.crf 415KB
motor.crf 414KB
usart.crf 414KB
systick.crf 414KB
dj_server.crf 413KB
stm32f10x_it.crf 413KB
ultrasonic.crf 413KB
main.crf 413KB
board.crf 413KB
led.crf 413KB
timx.crf 413KB
system.crf 413KB
stm32f10x_tim.crf 363KB
stm32f10x_can.crf 350KB
stm32f10x_adc.crf 348KB
stm32f10x_rcc.crf 348KB
stm32f10x_flash.crf 348KB
stm32f10x_i2c.crf 347KB
stm32f10x_usart.crf 347KB
stm32f10x_fsmc.crf 347KB
stm32f10x_sdio.crf 345KB
stm32f10x_spi.crf 345KB
stm32f10x_gpio.crf 345KB
stm32f10x_dma.crf 344KB
stm32f10x_dac.crf 343KB
stm32f10x_cec.crf 343KB
system_stm32f10x_1.crf 342KB
system_stm32f10x.crf 342KB
stm32f10x_bkp.crf 342KB
stm32f10x_pwr.crf 342KB
stm32f10x_rtc.crf 342KB
stm32f10x_exti.crf 342KB
共 360 条
- 1
- 2
- 3
- 4
旭日初扬
- 粉丝: 3w+
- 资源: 22
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0