# LiteOS/LiteOS

code and manual

Repository: https://github.com/LiteOS/LiteOS
Canonical: https://ross.abutalabs.com/products/liteos
Language: C
License: BSD-3-Clause
License Family: permissive
Last push: 2022-05-31T09:51:46+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3643, "days_push": 1555, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4906, forks 1579 (observed 2026-08-28T04:09:02.220995+00:00)

## What it is
Huawei LiteOS is a lightweight real-time operating system kernel for IoT devices, written in C for ARM Cortex-M/A architectures. It provides a minimal kernel (task, memory, interrupt, timer management) plus optional modules and integrated IoT connectivity stacks (LwM2M, CoAP, LwIP, mbedTLS) for secure cloud connection.

## Use cases
- build firmware for NB-IoT sensor devices
- run an RTOS on an STM32 Cortex-M microcontroller
- connect embedded devices securely to an IoT cloud platform
- reduce power consumption with tickless sleep on battery-powered devices
- port a lightweight OS kernel to a custom MCU board
- debug embedded systems with shell commands and CPU usage tracing

## When to choose
- developing IoT endpoints on ARM Cortex-M MCUs with tight memory constraints
- you need an integrated LwM2M/CoAP stack for Huawei cloud or NB-IoT scenarios
- low-power operation (tickless, run-stop wake) is a priority
- you want POSIX/CMSIS-compatible APIs on a small RTOS

## When to avoid
- you need a general-purpose OS with rich userspace (use Linux)
- your target is not ARM Cortex-M/A or an adapted MCU kit
- you require a very actively developed ecosystem - the latest release is from 2022
- you need extensive third-party library support typical of Zephyr or FreeRTOS

## Facets
- artifact type: library
- maturity: maintenance
- function: embedded, middleware, networking, security
- domain: iot, embedded-systems, operating-systems
- platform: embedded, iot, c, windows
- tags: rtos, real-time-kernel, nb-iot, lwm2m, coap, lwip, mbedtls, low-power, arm-cortex-m, huawei, scheduler, linux

## Member repositories
- LiteOS/LiteOS (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:02.220995+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:06.687528+00:00, confidence not recorded.
  - readme: https://github.com/LiteOS/LiteOS (fetched 2026-08-28T04:09:02.220995+00:00, sha 3d42ca892714)
- Data as of 2026-08-30T08:39:29.467469+00:00.
