openharmony_ci f1678484ad !350 删除不合规的targets文件
Merge pull request !350 from lixilun/OpenHarmony_1.0.1_release
2021-10-14 09:08:01 +00:00
2021-04-07 14:50:02 +08:00
2021-03-11 20:30:40 +08:00
2021-09-01 18:53:04 -07:00
2021-03-22 16:33:38 +08:00
2021-03-11 20:30:40 +08:00
2020-12-16 17:30:08 +08:00
2021-03-11 20:30:40 +08:00
2021-03-11 20:30:40 +08:00
2021-03-11 20:30:40 +08:00
2021-10-14 10:21:40 +08:00
2021-10-14 10:21:40 +08:00

LiteOS Cortex-M

Introduction

The OpenHarmony LiteOS Cortex-M is the kernel designed for the lightweight operating system (OS) for the Internet of Things (IoT) field. It features small size, low power consumption, and high performance. In addition, it has a simple code structure, including the minimum kernel function set, kernel abstraction layer, optional components, and project directory, and is divided into the hardware-related and hardware-irrelevant layers. The hardware-related layers provide unified hardware abstraction layer (HAL) interfaces to improve hardware adaptability. The combination and classification of different compilation toolchains and chip architectures meet the requirements of the Artificial Intelligence of Things (AIoT) field for rich hardware and compilation toolchains. Figure1 shows the architecture of the OpenHarmony LiteOS Cortex-M kernel.

Figure 1 Architecture of OpenHarmony the LiteOS Cortex-M kernel

Directory Structure

/kernel/liteos_m
├── components           # Optional components
│   ├── cppsupport       # C++ support
│   └── cpup             # CPU possession (CPUP)
├── kal                  # Kernel abstraction layer
│   ├── cmsis            # CMSIS-compliant API support
│   └── posix            # POSIX API support
├── kernel               # Minimum function set support
│   ├── arch             # Code of the kernel instruction architecture layer
│   │   ├── arm          # Code of the ARM32 architecture
│   │   └── include      # APIs exposed externally
│   ├── include          # APIs exposed externally
│   └── src              # Source code of the minimum function set of the kernel
├── targets              # Board-level projects
├── utils                # Common code

Constraints

Programming languages: C and C++

Currently applicable architectures: Cortex-M3, Cortex-M4, Cortex-M7, and RISC-V

Change Log

v1.0.1

  1. removed these KAL apis: KalThreadGetInfo,KalDelayUs,KalTimerCreate,KalTimerStart,KalTimerChange,KalTimerStop,KalTimerDelete,KalTimerIsRunning,KalTickToMs,KalMsToTick,KalGetMemInfo
  2. add some POSIX apis

v1.0

  1. first release

Repositories Involved

Kernel subsystem

kernel_liteos_m

Description
No description provided
Readme 14 MiB
Languages
C 96.2%
Assembly 3.4%
Python 0.2%
Makefile 0.1%