Skip to content

AliOS Things Porting Guide

librae8226 edited this page Mar 1, 2018 · 7 revisions

EN | 中文

As shown below, AliOS Things is a layered and component-based architecture that can be easily ported to many kinds of MCU and SoC. block_digram

Typical porting process

CPU support

It contains supports for various CPU frameworks such as ARM Cortex-M and C-Sky 80x. AliOS Things kernel team is mainly responsible for these part of work, but all of you are welcomed to develop new support based on Rhino Porting Guide, and share in github.

BSP/HAL

This part mainly contains development of chips and docking with the AliOS Things HAL.

Please refer to HAL Porting Guide for more details.

CLI

CLI is AliOS Things command line component. It can assist developers to develop and debug, and we strongly suggest you to use it as the first step of porting. CLI depends on UART HAL, and when porting is completed, developers can interact with AliOS Things by command line to view the state of system.

Network

According to connective capability of chips, devices that can connect to IP network can be divided as:

  1. chips with built-in connective capability, such as WiFi, which can be connected to WiFi HAL and LwIP.

  2. externally-connected communication modules, for which a standard Socket environment can be provided through SAL

For non-IP devices, please refer to:

  • LoRaWAN

  • BLE

More about network architecture of AliOS Things can refer to technical blogs in yq.

More capabilities

Porting guide for others can refer to appendix.

Clone this wiki locally