805 Star 2.4K Fork 1.2K

GVPHuawei LiteOS/LiteOS

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
BSD-3-Clause

star fork

中文

Introduction to Huawei LiteOS

Huawei LiteOS is a lightweight operating system based on real-time kernel developed by Huawei for the IoT. The existing basic kernel includes an untailorable ultra-small kernel and some tailorable modules. The ultra-small kernel covers task management, memory management, interrupt management, error handling, and system clock. Tailorable modules include semaphore, mutex lock, queue management, event management, and software timer. In addition to the basic kernel functions, Huawei LiteOS also provides the enhanced kernel functions, including the C++ support, low power consumption, and maintenance and test module. The low power mechanisms such as tickless and run-stop hibernation and wakeup can be used to greatly reduce the system power consumption. The maintenance and test module can be used to obtain CPU usage, trace events, and run shell commands.

Huawei LiteOS provides device-cloud synergy capabilities and integrates the full set of IoT interconnection protocol stacks including LwM2M, CoAP, Mbed TLS, and LwIP. In addition, Huawei LiteOS provides the AgentTiny module based on LwM2M. You only need to focus on your own applications instead of LwM2M implementation details. You can directly use the AgentTiny-encapsulated APIs to implement secure and reliable connections with the cloud platforms.

Since the release of open-source community, Huawei LiteOS has enabled partners in terms of technologies, ecosystems, solutions, and commercial support in the NB-IoT market to build an open-source IoT ecosystem. Currently, Huawei has aggregated more than 50 MCUs and solution partners to jointly launch a series of open-source development kits and industry solutions, helping industry customers quickly launch IoT terminals and services. Such customers are involved in various industries, such as meter reading, parking, street lamp, environmental protection, bicycle sharing, and logistics. Moreover, Huawei LiteOS provides developers with a one-stop software platform, lowering development requirements and improving development efficiency.

For details about Huawei LiteOS, see LiteOS Product Introduction.

LiteOS Code Overview

LiteOS Kernel Source Code Directory Description

This document describes the source code of the LiteOS kernel. Through this document, you can understand the source code structure and the main() function of LiteOS.

LiteOS Build and Development Tools

LiteOS Build and Development Tools

This document describes the LiteOS build framework and how to build LiteOS on Linux and Windows.

LiteOS Quick Start

LiteOS Quick Start

This document describes how to quickly run LiteOS on the development board and QEMU emulator.

LiteOS Porting Guide

LiteOS Porting Guide

This document describes how to quickly port LiteOS based on the STM32 chip platform.

LiteOS Kernel Development Guide

LiteOS Kernel Development Guide

This document describes the development and implementation principles of each LiteOS module. Through this document, you can understand how to use each module.

LiteOS Maintenance and Test Guide

LiteOS Maintenance and Test Guide

This document describes the maintenance and test capabilities of LiteOS, including the memory commissioning method, IPC communication commissioning method, event tracing, scheduling statistics, and CPU usage obtaining.

LiteOS Shell

Shell Tutorial

This document describes how to customize shell commands on LiteOS and how to execute built-in shell commands.

LiteOS Standard Library

LiteOS Standard Library

This document lists the POSIX and CMSIS APIs supported by LiteOS.

LiteOS Demos

The LiteOS demos directory contains demos and documents of each module provided by LiteOS. This document describes functions and running methods of demos.

LiteOS API Reference

For details about APIs, visit the LiteOS official website.

LiteOS Code Contribution Guide

LiteOS Code & Document Contribution Guide

This document describes the LiteOS programming specifications, document writing specifications, and specifications for filling in information when committing code and documents to the LiteOS repository.

Hardware Supported by LiteOS

  • Currently, the LiteOS open-source project supports chip architectures such as ARM Cortex-M0, Cortex-M3, Cortex-M4, Cortex-M7 and Cortex-A.

  • LiteOS cooperates with the industry mainstream MCUs and has adapted to multiple common MCU development suites through developer activities.

Open-Source Protocol

Contacting Us

* Copyright (c) <2013-2020>, <Huawei Technologies Co., Ltd> * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * 3. Neither the name of the copyright holder nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior written * permission. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

Huawei LiteOS开源代码官方主仓库. LiteOS Studio 开发工具请访问https://gitee.com/LiteOS/LiteOS_Studio expand collapse
BSD-3-Clause
Cancel

Releases (1)

All

Contributors

All

Activities

Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/LiteOS/LiteOS.git
git@gitee.com:LiteOS/LiteOS.git
LiteOS
LiteOS
LiteOS
master

Search