Awesome
中文 | English
<p align="center"> <img alt="logo" src="figures/logo/RTduino-RT-Thread.png" width="600"> </p> <h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RTduino<br/>RT-Thread操作系统的Arduino生态兼容层</h1> <h3 align="center">RTduino<br/>Arduino Ecosystem Compatibility Layer for RT-Thread</h4> <p align="center"> <a href="https://gitee.com/rtduino/RTduino/stargazers"><img src="https://gitee.com/rtduino/RTduino/badge/star.svg?theme=gvp"></a> <a href="https://gitee.com/rtduino/RTduino/members"><img src="https://gitee.com/rtduino/RTduino/badge/fork.svg?theme=gvp"></a> <a href="https://github.com/RTduino/RTduino/stargazers"><img src="https://img.shields.io/github/stars/RTduino/RTduino?style=flat-square&logo=GitHub"></a> <a href="https://github.com/RTduino/RTduino/network/members"><img src="https://img.shields.io/github/forks/RTduino/RTduino?style=flat-square&logo=GitHub"></a> <a href="https://github.com/RTduino/RTduino/watchers"><img src="https://img.shields.io/github/watchers/RTduino/RTduino?style=flat-square&logo=GitHub"></a> <a href="https://github.com/RTduino/RTduino/issues"><img src="https://img.shields.io/github/issues/RTduino/RTduino.svg?style=flat-square&logo=GitHub"></a> </p>
1 简介
RTduino是RT-Thread实时操作系统的Arduino生态兼容层,为RT-Thread社区的子社区,旨在兼容Arduino社区生态来丰富RT-Thread社区软件包生态(如上千种分门别类的Arduino库,以及Arduino社区优秀的开源项目),并降低RT-Thread操作系统以及与RT-Thread适配的芯片的学习门槛。通过RTduino,可以让用户使用Arduino的函数、编程方法,轻松地将RT-Thread和BSP使用起来。用户也可以直接使用Arduino社区第三方库(例如传感器驱动库、算法库等)直接用在RT-Thread工程中,极大地补充了RT-Thread社区生态。
2 已经适配RTduino的RT-Thread BSP
BSP名称 | 源码链接 | DigitalWrite & Read | AnalogWrite / PWM | AnalogRead / ADC | 串口 | I2C | SPI |
---|---|---|---|---|---|---|---|
瑞萨 RA6M3 HMI | Github / Gitee | √ | √ | √ | √ | √ | √ |
NXP LPC55S69 EVK | Github / Gitee | √ | √ | √ | √ | √ | × |
STM32F407星火一号 | Github / Gitee | √ | √ | √ | √ | √ | √ |
Raspberry Pi Pico | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32F072 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32F401 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32F410 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | × |
STM32F411 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32F412 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32L476 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32G474 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32U575 Nucleo | Github / Gitee | √ | √ | √ | √ | √ | × |
STM32F469 Discovery | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32F103 BluePill | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32F401 BlackPill | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32F411 BlackPill | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32L475潘多拉 | Github / Gitee | √ | √ | √ | √ | √ | √ |
STM32L431小熊派 | Github / Gitee | √ | √ | √ | √ | √ | √ |
大疆STM32F427 RoboMaster A板 | Github / Gitee | √ | √ | √ | √ | √ | × |
大疆STM32F407 Robomaster C型 | Github / Gitee | √ | √ | √ | √ | √ | × |
CH32V307V-R1 | Github / Gitee | √ | √ | √ | √ | √ | × |
CH32V208W-R0 | Github / Gitee | √ | √ | √ | √ | √ | × |
ES32F3696 | Github / Gitee | √ | √ | √ | √ | √ | √ |
ES32VF2264 | Github / Gitee | √ | √ | √ | √ | √ | √ |
3 开发环境
RTduino 支持以下开发环境:
- GCC
- VSCode
- RT-Thread Studio
- Keil MDK5
- Keil MDK6
注: RTduino作为RT-Thread软件包,其本身支持GCC工具链以及Keil AC5、AC6集成开发环境(IDE),但由于Arduino社区第三方库均为GCC工具链下编写,因此建议使用基于GCC工具链的开发环境。
4 官网与代码仓库
- 官网: http://www.rtduino.com/
- Github代码仓库: https://github.com/RTduino/RTduino
- Gitee代码仓库: https://gitee.com/rtduino/RTduino
- 文档中心(全球):https://docs.rtduino.com
- 文档中心(国内):https://rtduino.gitee.io/docs