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 605
Resource Number 38042 Last Updated 2025-02-24
¥ 0USD 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/kyym/a-real-time-operating-system-developed-by-tencent-for-the-internet-of-things.html

Share free open-source source code

Q&A
  • 1, automatic: after taking the photo, click the (download) link to download; 2. Manual: After taking the photo, contact the seller to issue it or contact the official to find the developer to ship.
View details
  • 1, the default transaction cycle of the source code: manual delivery of goods for 1-3 days, and the user payment amount will enter the platform guarantee until the completion of the transaction or 3-7 days can be issued, in case of disputes indefinitely extend the collection amount until the dispute is resolved or refunded!
View details
  • 1. Heptalon will permanently archive the process of trading between the two parties and the snapshots of the traded goods to ensure that the transaction is true, effective and safe! 2, Seven PAWS can not guarantee such as "permanent package update", "permanent technical support" and other similar transactions after the merchant commitment, please identify the buyer; 3, in the source code at the same time there is a website demonstration and picture demonstration, and the site is inconsistent with the diagram, the default according to the diagram as the dispute evaluation basis (except for special statements or agreement); 4, in the absence of "no legitimate basis for refund", the commodity written "once sold, no support for refund" and other similar statements, shall be deemed invalid; 5, before the shooting, the transaction content agreed by the two parties on QQ can also be the basis for dispute judgment (agreement and description of the conflict, the agreement shall prevail); 6, because the chat record can be used as the basis for dispute judgment, so when the two sides contact, only communicate with the other party on the QQ and mobile phone number left on the systemhere, in case the other party does not recognize self-commitment. 7, although the probability of disputes is very small, but be sure to retain such important information as chat records, mobile phone messages, etc., in case of disputes, it is convenient for seven PAWS to intervene in rapid processing.
View details
  • 1. As a third-party intermediary platform, Qichou protects the security of the transaction and the rights and interests of both buyers and sellers according to the transaction contract (commodity description, content agreed before the transaction); 2, non-platform online trading projects, any consequences have nothing to do with mutual site; No matter the seller for any reason to require offline transactions, please contact the management report.
View details

Related Article

make a comment
No comments available at the moment
Official customer service team

To solve your worries - 24 hours online professional service