Update README_en.md
This commit is contained in:
127
README_en.md
127
README_en.md
@@ -4,115 +4,116 @@
|
|||||||
[](https://github.com/Tencent/TencentOS-tiny/blob/master/LICENSE)
|
[](https://github.com/Tencent/TencentOS-tiny/blob/master/LICENSE)
|
||||||
[](https://github.com/Tencent/TencentOS-tiny/pulls)
|
[](https://github.com/Tencent/TencentOS-tiny/pulls)
|
||||||
|
|
||||||
# 一、TencentOS Tiny 简介
|
# Introduction to TencentOS Tiny
|
||||||
|
|
||||||
[TencentOS tiny](https://cloud.tencent.com/product/tos-tiny)是腾讯面向物联网领域开发的实时操作系统,具有低功耗,低资源占用,模块化,安全可靠等特点,可有效提升物联网终端产品开发效率。TencentOS tiny 提供精简的 RTOS 内核,内核组件可裁剪可配置,可快速移植到多种主流 MCU (如STM32全系列)及模组芯片上。而且,基于RTOS内核提供了丰富的物联网组件,内部集成主流物联网协议栈(如 CoAP/MQTT/TLS/DTLS/LoRaWAN/NB-IoT 等),可助力物联网终端设备及业务快速接入腾讯云物联网平台。
|
[TencentOS tiny](https://cloud.tencent.com/product/tos-tiny) is a real-time operating system developed by Tencent for the Internet of Things. It features low power consumption, low resource consumption, modularity, security and reliability, and can effectively improve the development efficiency of IoT terminal products. TencentOS tiny provides a streamlined RTOS core that can be tailored and configurable for rapid migration to a wide range of mainstream MCUs (such as the full range of STM32) and module chips. Moreover, based on the RTOS kernel, it provides a wealth of IoT components, and internally integrates mainstream IoT protocol stacks (such as CoAP/MQTT/TLS/DTLS/LoRaWAN/NB-IoT, etc.), which can help IoT terminals and services to quickly access Tencent. Cloud Internet of Things platform.
|
||||||
|
|
||||||
|
|
||||||
## 1、TencentOS tiny整体架构
|
## 1、The software architecture of TencentOS tiny
|
||||||
|
|
||||||

|

|
||||||
TencentOS tiny 主体架构图,从下到上主要包括:
|
|
||||||
|
|
||||||
**CPU 库** :TencentOS tiny 支持的 CPU IP 核架构,当前主要支持 ARM Cortex M0/3/4/7。
|
TencentOS tiny main architecture diagram, from bottom to top, mainly includes:
|
||||||
|
|
||||||
**驱动管理层** :包括板级支持包(BSP,主要由 MCU 芯片厂家开发与维护)、硬件抽象(HAL,主要由 TencentOS tiny提供,方便不同芯片的适配与移植)、设备驱动(Drivers,例如 Wi-Fi、GPRS、LoRa 等模块的驱动程序)。
|
**CPU libs** :The CPU IP core architecture supported by TencentOS tiny,currently supports ARM Cortex M0/3/4/7.
|
||||||
|
|
||||||
**内核** :TencentOS tiny 实时内核包括任务管理、实时调度、时间管理、中断管理、内存管理、异常处理、软件定时器、链表、消息队列、信号量、互斥锁、事件标志等模块。
|
**Drive management** :Including board support package (BSP, mainly developed and maintained by MCU chip manufacturers), hardware abstraction (HAL, mainly provided by TencentOS tiny, to facilitate adaptation and porting of different chips), device drivers (Drivers, such as Wi-Fi, GPRS Drivers for modules such as LoRa).
|
||||||
|
|
||||||
**IoT 协议栈**:TencentOS tiny 提供 lwip、AT Adapter、SAL 层,支持不同的网络硬件,例如以太网、串口 Wi-Fi、GPRS、NB-IoT、4G等通信模块。TCP/IP 网络协议栈上提供常用的物联网协议栈,例如 CoAP、MQTT,支撑终端业务快速接入腾讯云。
|
**kernel** :The TencentOS tiny real-time kernel includes tasks management, real-time scheduling, time management, interrupt management, memory management, exception handling, software timers, linked lists, message queues, semaphores, mutex locks, event flags, and more.
|
||||||
|
|
||||||
**安全框架**:TencentOS tiny 为了确保物联网终端数据传输安全以及设备认证安全,提供了完整的安全解决方案。安全框架提供的 DTLS 和 TLS 安全协议,加固了 COAP 及 MQTT 的传输层,可确保物联网终端在对接腾讯云时实现安全认证和数据加密;另外针对低资源的终端硬件,安全框架还提供与腾讯云 IoTHub 配套的密钥认证方案,确保资源受限设备也能在一定程度上实现设备安全认证。
|
**IoT protocol stack**:TencentOS tiny provides lwip, AT Adapter, SAL layer, supports different network hardware, such as Ethernet, serial Wi-Fi, GPRS, NB-IoT, 4G and other communication modules. A commonly used IoT protocol stack, such as CoAP and MQTT, is provided on the TCP/IP network protocol stack to support the terminal service to quickly access Tencent Cloud.
|
||||||
|
|
||||||
**组件框架**:TencentOS tiny 提供文件系统、KV 存储、自组网、JS 引擎、低功耗框架、设备框架、OTA、调试工具链等一系列组件,供用户根据业务场景选用。
|
**Security framework**:TencentOS tiny provides a complete security solution to ensure data transmission security and device authentication security for IoT terminals. The DTLS and TLS security protocols provided by the security framework reinforce the transport layer of COAP and MQTT to ensure that the IoT terminal implements secure authentication and data encryption when docking Tencent Cloud. In addition, for the low-resource terminal hardware, the security framework also provides Tencent. The key authentication scheme of the cloud IoTHub ensures that resource-constrained devices can also achieve device security certification to a certain extent.
|
||||||
|
|
||||||
**开放 API(规划开发中)**:TencentOS tiny 将在协议中间件和框架层上提供开放 API 函数,方便用户调用中间件功能,使用户无需过多关心中间件具体实现,快速对接腾讯云,实现终端业务上云的需求,期望最大程度减少终端物联网产品开发周期,节省开发成本。
|
**Component framework**:TencentOS tiny provides a series of components such as file system, KV storage, ad hoc network, JS engine, low-power framework, device framework, OTA, and debugging toolchain for users to choose according to business scenarios.
|
||||||
|
|
||||||
**示例应用**:TencentOS tiny 提供的示例代码,模块测试代码等,方便用户参考使用。
|
**Open API (in planning and development)**:TencentOS tiny will provide open API functions on the protocol middleware and framework layer, which is convenient for users to call the middleware function, so that users do not need to pay much attention to the implementation of middleware, quickly connect to Tencent cloud, realize the cloud demand on the terminal business, and expect the maximum degree. Reduce the development cycle of the terminal IoT product and save development costs.
|
||||||
|
|
||||||
|
**examples**:TencentOS tiny provides sample code, module test code, etc., which is convenient for users to refer to.
|
||||||
|
|
||||||
## 2、TencentOS tiny优势
|
## 2、TencentOS tiny优势
|
||||||
|
|
||||||
### (1).小体积
|
### (1).Small size
|
||||||
最小内核:RAM 0.6KB,ROM 1.8KB
|
Minimum kernel: RAM 0.6KB, ROM 1.8KB
|
||||||
典型LoraWAN及传感器应用:RAM 3.3KB,ROM 12KB
|
Typical LoraWAN and Sensor Applications: RAM 3.3KB, ROM 12KB
|
||||||
### (2).低功耗
|
### (2).Low power consumption
|
||||||
休眠最低功耗低至2 uA
|
Minimum sleep power consumption as low as 2 uA
|
||||||
支持外设功耗管理框架
|
Support for peripheral power management framework
|
||||||
### (3).丰富的IoT组件
|
### (3).Rich IoT components
|
||||||
集成主流IoT协议栈
|
Integrate mainstream IoT protocol stack
|
||||||
多种通信模组SAL层适配框架;
|
Multiple communication module SAL layer adaptation framework;
|
||||||
支持OTA升级
|
Support FOTA
|
||||||
提供简单易用端云API,加速用户业务接入腾讯云
|
Provides easy-to-use end-cloud API to accelerate user service access to Tencent Cloud
|
||||||
### (4).可靠的安全框架
|
### (4).Reliable security framework
|
||||||
多样化的安全分级方案
|
Diversified security grading scheme
|
||||||
均衡安全需求&成本控制
|
Balanced security requirements & cost control
|
||||||
### (5).良好的可移植性
|
### (5).Good portability
|
||||||
内核及IoT组件高度解耦,提供标准适配层
|
Highly decoupled core and IoT components, providing a standard adaptation layer
|
||||||
提供自动化移植工具,提升开发效率
|
Provide automated migration tools to improve development efficiency
|
||||||
### (6).便捷的调试手段
|
### (6).Convenient debugging means
|
||||||
提供云化的最后一屏调试功能
|
Provide cloudized last screen debugging
|
||||||
故障现场信息自动上传云平台,方便开发人员调试分析
|
The fault scene information is automatically uploaded to the cloud platform, which is convenient for developers to debug and analyze.
|
||||||
|
|
||||||
## 3、TencentOS tiny携手合作伙伴共建IoT生态
|
## 3、TencentOS tiny and partners are committed to building the IoT ecosystem
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
TencentOS tiny目前支持STM32、NXP、华大半导体、国民技术、GD32、Nordic、TI等主流MCU。当前已完成两套官方定制开发板设计,支持全系列STM32 NUCLEO官方评估板内核移植。TencentOS tiny 将携手合作伙伴为物联网终端厂家提供更优质的IoT终端软件解决方案,方便各种物联网设备快速接入腾讯云,共同扩展IoT生态,更好地支撑智慧城市、智能水表、智能家居、智能穿戴、车联网等多种行业应用。
|
TencentOS tiny currently supports mainstream MCUs such as STM32, NXP, Huada Semiconductor, National Technology, GD32, Nordic, and TI. Two sets of official custom development board designs have been completed, supporting the full range of STM32 NUCLEO official evaluation board kernel migration. TencentOS tiny will work together with partners to provide better IoT terminal software solutions for IoT terminal manufacturers, facilitating the rapid access of various IoT devices to Tencent Cloud, and jointly expanding the IoT ecosystem to better support smart cities, smart water meters, and smart homes. , smart wear, car networking and other industrial applications.
|
||||||
|
|
||||||
# 二、TencentOS tiny 代码目录
|
# TencentOS tiny code directory
|
||||||
- [TencentOS tiny代码目录说明](./doc/TencentOS-tiny-代码目录说明.md)
|
- [TencentOS tiny代码目录说明](./doc/TencentOS-tiny-代码目录说明.md)
|
||||||
|
|
||||||
# 三、TencentOS tiny 参考文档
|
# TencentOS tiny reference documentation
|
||||||
## 1、移植指南
|
## 1、Porting guide
|
||||||
- [TencentOS tiny移植指南(KEIL版本)](./doc/TencentOS-tiny-porting-keil.md)
|
- [TencentOS tiny移植指南(KEIL版本)](./doc/TencentOS-tiny-porting-keil.md)
|
||||||
- [TencentOS tiny移植指南(IAR版本)](./doc/TencentOS-tiny-porting-iar.md)
|
- [TencentOS tiny移植指南(IAR版本)](./doc/TencentOS-tiny-porting-iar.md)
|
||||||
- [TencentOS tiny移植指南(GCC版本)](./doc/TencentOS-tiny-porting-gcc.md)
|
- [TencentOS tiny移植指南(GCC版本)](./doc/TencentOS-tiny-porting-gcc.md)
|
||||||
|
|
||||||
## 2、TencentOS tiny 开发指南
|
## 2、Development guide
|
||||||
- [TencentOS tiny内核开发指南](./doc/4.TencentOS-tiny开发指南.md)
|
- [TencentOS tiny内核开发指南](./doc/4.TencentOS-tiny开发指南.md)
|
||||||
- [TencentOS tiny API参考](./doc/5.TencentOS-tiny-SDK文档.md)
|
- [TencentOS tiny API参考](./doc/5.TencentOS-tiny-SDK文档.md)
|
||||||
- [TencentOS tiny对接腾讯云IoTHub开发指南](./doc/8.TencentOS-tiny对接腾讯云IoTHub开发指南.md)
|
- [TencentOS tiny对接腾讯云IoTHub开发指南](./doc/8.TencentOS-tiny对接腾讯云IoTHub开发指南.md)
|
||||||
|
|
||||||
# 四、TencentOS tiny 开源协议
|
# TencentOS tiny opensource license
|
||||||
* TencentOS tiny 遵循 [BSD-3开源许可协议](LICENSE)
|
* TencentOS tiny follow [BSD-3 Open source license agreement](LICENSE)
|
||||||
|
|
||||||
|
|
||||||
# 五、TencentOS tiny 支持的物联网平台
|
# The IoT platform TencentOS tiny support
|
||||||
TencentOS tiny能支持物联网终端设备和业务快速接入[腾讯云物联网平台IoT Explorer](https://cloud.tencent.com/product/iotexplorer)。
|
TencentOS tiny can support IoT terminal devices and services for fast access to Tencent Cloud IoT Platform [IoT Explorer](https://cloud.tencent.com/product/iotexplorer)。
|
||||||
|
|
||||||
TencentOS tiny结合腾讯云物联网开发平台IoT Explorer,已经构筑起连接通讯芯片到云开发的能力,加上已经建设完成的国内最大规模LoRa网络,腾讯彻底打通从芯片通讯开发、网络支撑服务,物理设备定义管理,数据分析和多场景应用开发等全链条IoT云开发服务能力,重新定义了物联网开发模式,助力亿级设备多方式多模式低门槛接入腾讯云服务。作为物联网基础设施建设服务者,腾讯将持续打造开放的物联网生态体系,促进物联网生态良性发展。
|
TencentOS tiny combines Tencent Cloud IoT development platform IoT Explorer, which has built up the ability to connect communication chips to cloud development. Together with the largest LoRa network in China, Tencent has completely opened up from chip communication development, network support services, and physical equipment. Defining management, data analysis and multi-scenario application development and other full-chain IoT cloud development service capabilities, redefining the IoT development model, helping multi-mode multi-mode multi-mode low threshold access to Tencent cloud services. As an IoT infrastructure construction service provider, Tencent will continue to build an open IoT ecosystem and promote the sound development of the Internet of Things.
|
||||||
|
|
||||||
# 六、TencentOS tiny 快速入门参考
|
# TencentOS tiny Quick Start Reference
|
||||||
TencentOS tiny联合合作伙伴(南京厚德物联网)设计了定制开发板,如下图:
|
TencentOS tiny joint partner (Nanjing Houde IoT) designed a custom development board, as shown below:
|
||||||

|

|
||||||
|
|
||||||
- [TencentOS tiny定制开发板介绍页](http://www.holdiot.com/product/showproduct.php?id=8),开发者可以基于定制开发板进行快速入门学习,点击下载参考文档
|
- [TencentOS tiny custom development board introduction page](http://www.holdiot.com/product/showproduct.php?id=8) ,Developers can quickly learn based on custom development boards, click to download reference documentation
|
||||||
- [TencentOS-tiny定制开发板入门指南](./doc/TencentOS-tiny定制开发板入门指南.pdf)
|
- [TencentOS-tiny Custom Development Board Getting Started Guide](./doc/TencentOS-tiny定制开发板入门指南.pdf)
|
||||||
|
|
||||||
# 七、贡献代码
|
# Contribution code
|
||||||
* 1. 在您自己的GitHub账户下Fork TencentOS tiny 开源项目;
|
* 1. Under the Fork TencentOS tiny open source project under your own GitHub account;
|
||||||
* 2. 根据您的需求在本地clone 一份TencentOS tiny 代码;
|
* 2. Clone a TencentOS tiny code locally according to your needs;
|
||||||
* 3. 您修改或者新增功能后,push 到您fork的远程分支;
|
* 3. After you modify or add a new function, push to the remote branch of your fork;
|
||||||
* 4. 创建 pull request,向TencentOS tiny官方开发分支提交合入请求;
|
* 4. Create a pull request and submit a join request to the official TencentOS tiny development branch;
|
||||||
* 5. TencentOS tiny研发团队会定期review代码,通过测试后合入。
|
* 5. The TencentOS tiny R&D team will periodically review the code and pass the test.
|
||||||
|
|
||||||
# 八、加入TencentOS tiny官方QQ技术交流群
|
# Join the TencentOS tiny official QQ technology exchange group
|
||||||
|
|
||||||
扫码加群,请备注TencentOS tiny开发者,工作人员会根据备注进行审核:
|
Scan the QR code plus group, please note the TencentOS tiny developer, the staff will review according to the notes:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
# 九、第三方开发者评测
|
# Third-party developer contributions
|
||||||
|
|
||||||
感谢CSDN博客专家杰杰的贡献
|
Thanks to the contribution of CSDN blog expert Jiejie
|
||||||
|
|
||||||
基于野火stm32f103开发板上移植的TencentOS tiny 例程、源码剖析、视频讲解。
|
Based on the wildfire stm32f103 development board to transplant TencentOS tiny routines, source code analysis, video explanation.
|
||||||
|
|
||||||
## 简单上手:
|
## Simple to get started
|
||||||
|
|
||||||
- [超详细的 TencentOS tiny 移植到STM32F103全教程](https://blog.csdn.net/jiejiemcu/article/details/101034426)
|
- [超详细的 TencentOS tiny 移植到STM32F103全教程](https://blog.csdn.net/jiejiemcu/article/details/101034426)
|
||||||
|
|
||||||
## 深度源码分析:
|
## Deep source analysis
|
||||||
|
|
||||||
- [【TencentOS tiny学习】源码分析(1)——task](https://blog.csdn.net/jiejiemcu/article/details/99618912)
|
- [【TencentOS tiny学习】源码分析(1)——task](https://blog.csdn.net/jiejiemcu/article/details/99618912)
|
||||||
|
|
||||||
@@ -130,7 +131,7 @@ TencentOS tiny联合合作伙伴(南京厚德物联网)设计了定制开发板
|
|||||||
|
|
||||||
- [【TencentOS tiny学习】源码分析(8)——软件定时器](https://blog.csdn.net/jiejiemcu/article/details/101846089)
|
- [【TencentOS tiny学习】源码分析(8)——软件定时器](https://blog.csdn.net/jiejiemcu/article/details/101846089)
|
||||||
|
|
||||||
## 配套例程:
|
## Example Code
|
||||||
|
|
||||||
- [【TencentOS tiny学习】例程(0)——hello world](https://github.com/jiejieTop/TencentOS-Demo/tree/master/hello-world)
|
- [【TencentOS tiny学习】例程(0)——hello world](https://github.com/jiejieTop/TencentOS-Demo/tree/master/hello-world)
|
||||||
|
|
||||||
@@ -153,7 +154,7 @@ TencentOS tiny联合合作伙伴(南京厚德物联网)设计了定制开发板
|
|||||||
- [【TencentOS tiny学习】例程(9)——内存堆](https://github.com/jiejieTop/TencentOS-Demo/tree/master/09-mmheap)
|
- [【TencentOS tiny学习】例程(9)——内存堆](https://github.com/jiejieTop/TencentOS-Demo/tree/master/09-mmheap)
|
||||||
|
|
||||||
|
|
||||||
## 视频教程:
|
## Video tutorial
|
||||||
|
|
||||||
- [【TencentOS tiny学习】视频汇总](https://www.bilibili.com/video/av70478596?from=search&seid=10160676184801585522)
|
- [【TencentOS tiny学习】视频汇总](https://www.bilibili.com/video/av70478596?from=search&seid=10160676184801585522)
|
||||||
- [【视频】01-初识TencentOS tiny](https://www.bilibili.com/video/av70478596/?p=1)
|
- [【视频】01-初识TencentOS tiny](https://www.bilibili.com/video/av70478596/?p=1)
|
||||||
@@ -175,7 +176,7 @@ TencentOS tiny联合合作伙伴(南京厚德物联网)设计了定制开发板
|
|||||||
- [【视频】17-TencentOS tiny软件定时器-2](https://www.bilibili.com/video/av70478596/?p=11)
|
- [【视频】17-TencentOS tiny软件定时器-2](https://www.bilibili.com/video/av70478596/?p=11)
|
||||||
- [【视频】18-TencentOS tiny软件定时器-3](https://www.bilibili.com/video/av70478596/?p=18)
|
- [【视频】18-TencentOS tiny软件定时器-3](https://www.bilibili.com/video/av70478596/?p=18)
|
||||||
|
|
||||||
## 相关PPT资料:
|
## Related PPT doc
|
||||||
- [【TencentOS tiny学习】视频PPT](https://github.com/jiejieTop/TencentOS-Demo/tree/master/PPT)
|
- [【TencentOS tiny学习】视频PPT](https://github.com/jiejieTop/TencentOS-Demo/tree/master/PPT)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user