A real-time operating system developed by Tencent for the Internet of Things

A real-time operating system developed by Tencent for the Internet of Things

2022-09-02 0 1,040
Resource Number 38042 Last Updated 2025-02-24
¥ 0HKD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

This issue recommends a real-time operating system developed by Tencent for the Internet of Things——TencentOS-tiny。

A real-time operating system developed by Tencent for the Internet of Things插图

TencentOS tiny is a real-time operating system developed by Tencent for the Internet of Things. It has the characteristics of low power consumption, low resource occupation, modularity, safety and reliability, which can effectively improve the development efficiency of Internet of Things terminal products. TencentOS tiny provides a streamlined RTOS kernel with tailor-made and configurable kernel components that can be quickly ported to a variety of mainstream MCUS (such as the full STM32 family) and module chips. And, based on RTOS kernel provides a rich IoT components, internal integration mainstream Internet protocol stack (such as CoAP/MQTT/TLS/DTLS/LoRaWAN/NB – IoT, etc.), can help the Internet of things terminal equipment and business fast access tencent IoT cloud platform.

TencentOS tiny overall structure

A real-time operating system developed by Tencent for the Internet of Things插图1

TencentOS tiny main architecture diagram, from bottom to top mainly includes:

  • CPU library :TencentOS tiny supports CPU IP core architecture, currently mainly support ARM Cortex M0/3/4/7, Cortex A7, RISC-V, MSP430, AVR, STM8 and so on.
  • Drive management :Including board level support package (BSP, mainly developed and maintained by MCU chip manufacturers), hardware abstraction layer (HAL, mainly provided by TencentOS tiny, to facilitate the adaptation and migration of different chips), device Drivers (such as Wi-Fi, GPRS, LoRa and other module drivers).
  • core :TencentOS tiny real-time kernel includes task management, real-time scheduling, time management, interrupt management, memory management, exception handling, software timer, linked list, message queue, semaphore, mutex, event flag and other modules.
  • IoT protocol stack:TencentOS tiny provides lwip, AT Adapter, SAL layers and supports different network hardware, such as Ethernet, serial Wi-Fi, GPRS, NB-IoT, 4G and other communication modules. The TCP/IP network protocol stack provides common iot protocol stacks, such as CoAP and MQTT, to support terminal services to quickly access Tencent Cloud.
  • security framework:TencentOS tiny provides a complete security solution to ensure the security of iot terminal data transmission and device authentication. The DTLS and TLS security protocols provided by the security framework reinforce the transport layer of COAP and MQTT, which can ensure the security authentication and data encryption of the Internet of Things terminal when connecting with Tencent Cloud; In addition, for low-resource terminal hardware, the security framework also provides a key authentication scheme with Tencent Cloud IoTHub to ensure that resource-limited devices can also achieve device security authentication to a certain extent.
  • Component framework:TencentOS tiny provides a series of components such as file system, KV storage, AD hoc networking, JS engine, low-power framework, device framework, OTA, debug toolchain, etc., for users to choose based on service scenarios.
  • Open API (planning and development):TencentOS tiny will provide open API functions on the protocol middleware and framework layer, which is convenient for users to call middleware functions, so that users do not need to care too much about the specific implementation of the middleware, and quickly connect with Tencent Cloud to achieve the needs of the cloud on the terminal business, hoping to minimize the development cycle of terminal iot products and save development costs.

Advantages of TencentOS tiny

small size

  • Minimum kernel:RAM 0.6KB,ROM 1.8KB。
  • Typical LoraWAN and sensor applications:RAM 3.3KB,ROM 12KB。

low power consumption

  • Minimum sleep power consumption as low as 2uA。
  • Supports peripheral power management framework to help developers reduce device power consumption and extend device life.

Rich IoT components

  • Integrate mainstream IoT protocol stacks (MQTT, CoAP, LoRaWAN, NB-IoT, etc.).
  • A variety of communication modules SAL layer adaptation framework, reduce network hardware adaptation time cost.
  • Support OTA upgrade.
  • Provide easy-to-use end cloud API to accelerate user business access to Tencent Cloud.

A reliable security framework

  • Diversified security grading schemes.
  • Balance security needs with cost control.

Good portability

  • The kernel and IoT components are highly decoupled, providing a standard adaptation layer.
  • Provide automated migration tools to improve development efficiency.

Convenient debugging means

  • Provides the cloud last screen debugging function.
  • On-site fault information is automatically uploaded to the cloud platform to facilitate debugging and analysis by developers.

TencentOS tiny code directory description

A real-time operating system developed by Tencent for the Internet of Things插图2

TencentOS tiny Migration Guide

  • TencentOS tiny Migration Guide (KEIL version)


doc/10.Porting_Manual_for_KEIL.md · Tencent Open Source/TencentOS-tiny – Gitee.com

  • TencentOS tiny Port Guide (IAR version)


doc/11.Porting_Manual_for_IAR.md ·Tencent Open Source/TencentOS-tiny – Gitee.com

  • TencentOS tiny Port Guide (GCC version)


doc/12.Porting_Manual_for_GCC.md ·Tencent Open Source/TencentOS-tiny – Gitee.com

  • TencentOS tiny Migration Guide (based on MDK pack)


tools/mdk_pack/Documentation/README.md · Tencent Open Source/TencentOS-tiny – Gitee.com

  • TencentOS tiny Port Guide (Based on STM32 CubeMx)


tools/STM32CubeMX_pack/Documentation/README.md · Tencent Open Source/TencentOS-tiny – Gitee.com

TencentOS tiny Development Guide

  • TencentOS tiny kernel Development Guide


doc/04.Development_Manual.md · Tencent Open Source/TencentOS-tiny – Gitee.com

  • TencentOS tiny API reference

doc/05.SDK_Manual.md · Tencent Open Source/TencentOS-tiny – Gitee.com

  • TencentOS tiny Interconnects with Tencent Cloud IoTHub development Guide


doc/08.QCloud_IoTHub_Quick_Start.md · Tencent Open Source/TencentOS-tiny – Gitee.com

TencentOS tiny custom development board

A real-time operating system developed by Tencent for the Internet of Things插图3

  • TencentOS-tiny Custom development board starter guide


doc/15.TencentOS_tiny_EVB_MX_Plus_Quick_Start.md ·Tencent Open Source/TencentOS-tiny – Gitee.com

You can read more on your own.

资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free Source Code A real-time operating system developed by Tencent for the Internet of Things https://ictcoder.com/a-real-time-operating-system-developed-by-tencent-for-the-internet-of-things/

Share free open-source source code

Q&A
  • 1. Automatic: After making an online payment, click the (Download) link to download the source code; 2. Manual: Contact the seller or the official to check if the template is consistent. Then, place an order and make payment online. The seller ships the goods, and both parties inspect and confirm that there are no issues. ICTcoder will then settle the payment for the seller. Note: Please ensure to place your order and make payment through ICTcoder. If you do not place your order and make payment through ICTcoder, and the seller sends fake source code or encounters any issues, ICTcoder will not assist in resolving them, nor can we guarantee your funds!
View details
  • 1. Default transaction cycle for source code: The seller manually ships the goods within 1-3 days. The amount paid by the user will be held in escrow by ICTcoder until 7 days after the transaction is completed and both parties confirm that there are no issues. ICTcoder will then settle with the seller. In case of any disputes, ICTcoder will have staff to assist in handling until the dispute is resolved or a refund is made! If the buyer places an order and makes payment not through ICTcoder, any issues and disputes have nothing to do with ICTcoder, and ICTcoder will not be responsible for any liabilities!
View details
  • 1. ICTcoder will permanently archive the transaction process between both parties and snapshots of the traded goods to ensure the authenticity, validity, and security of the transaction! 2. ICTcoder cannot guarantee services such as "permanent package updates" and "permanent technical support" after the merchant's commitment. Buyers are advised to identify these services on their own. If necessary, they can contact ICTcoder for assistance; 3. When both website demonstration and image demonstration exist in the source code, and the text descriptions of the website and images are inconsistent, the text description of the image shall prevail as the basis for dispute resolution (excluding special statements or agreements); 4. If there is no statement such as "no legal basis for refund" or similar content, any indication on the product that "once sold, no refunds will be supported" or other similar declarations shall be deemed invalid; 5. Before the buyer places an order and makes payment, the transaction details agreed upon by both parties via WhatsApp or email can also serve as the basis for dispute resolution (in case of any inconsistency between the agreement and the description of the conflict, the agreement shall prevail); 6. Since chat records and email records can serve as the basis for dispute resolution, both parties should only communicate with each other through the contact information left on the system when contacting each other, in order to prevent the other party from denying their own commitments. 7. Although the probability of disputes is low, it is essential to retain important information such as chat records, text messages, and email records, in case a dispute arises, so that ICTcoder can intervene quickly.
View details
  • 1. As a third-party intermediary platform, ICTcoder solely protects transaction security and the rights and interests of both buyers and sellers based on the transaction contract (product description, agreed content before the transaction); 2. For online trading projects not on the ICTcoder platform, any consequences are unrelated to this platform; regardless of the reason why the seller requests an offline transaction, please contact the administrator to report.
View details

Related Source code

ICTcoder Customer Service

24-hour online professional services