MCPcopy Index your code
hub / github.com/alibaba/AliOS-Things

github.com/alibaba/AliOS-Things @v2.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.0 ↗ · + Follow
171,110 symbols 329,777 edges 18,641 files 71,224 documented · 42%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Join the chat at https://gitter.im/aliosthings/Lobby

EN | 中文

AliOS Things发布于2017年杭州云栖大会, 是 AliOS 家族旗下的、面向IoT领域的、高可伸缩的物联网操作系统,于2017年10月20号宣布在github上开源.

架构总览

AliOS Things 支持多种CPU架构,包括:ARM,C-Sky,MIPS,RISCV,rl78,rx600,xtensa等。AliOS Things认证的芯片和模组数量有200+,认证的传感器数量有100+。

AliOS Things适配了分层架构和组件架构。包括以下部分:

  • BSP: 板级支持包
  • HAL: 硬件适配层,包括WiFi,UART,Flash 等
  • Kernel: 包括Rhino RTOS 内核,VFS,KV Storage,CLI,C++ 等
  • Network: 包括LwIP 轻量级TCP/IP协议栈,uMesh 自组网协议栈,BLE 低功耗蓝牙协议栈,LoRaWAN 协议栈,AT Commands Module 等
  • Security: 包括TLS(mbedTLS and cutomized iTLS),ID2,SST(Trusted Storage),Crypto,TEE(Trusted Execution Environment) 等
  • AOS API: AliOS Things 提供给应用软件和中间件的API
  • Middleware: 阿里巴巴增值和常用的物联网组件,包括Linkkit,OTA(安全差分升级),ulog(日志服务),uData(传感器框架),uLocation(定位框架),WiFi配网 等
  • Application: 丰富的示例代码

所有的模块都作为组件的形式存在,通过menuconfig配置界面进行配置,应用程序可以很方便的选择需要的组件。

文档

贡献代码

请参考:Contributing Guideline.

命令行快速上手

使用ubuntu系统,参考 Quick Start 可以快速上手AliOS Things

IDE 快速上手

AliOS Things使用 vscode 作为IDE,支持Windows/MAC/Linux。 具体使用步骤请参考:AliOS Studio.

物联网平台

AliOS Things 能帮助你更加快速地接入阿里云物联网平台

社区

License

AliOS Things 开源源码遵循 Apache 2.0 license 开源协议。

Core symbols most depended-on inside this repo

Poke
called by 15807
platform/mcu/imx6/imx6_platform_sdk/apps/gpu_demo/src/sdk_gpu_utilities.c
printf
called by 5856
platform/mcu/rda8955/aos/aos_adapter.c
memcpy
called by 3598
platform/mcu/xm510/libs/system.c
assert
called by 2913
platform/mcu/atsaml21/drivers/hal/utils/src/utils_assert.c
UNUSED
called by 2792
platform/mcu/imx6/imx6_platform_sdk/apps/usb_hid_mouse/src/mouse_button.c
memset
called by 2290
platform/mcu/sv6266/drivers/sdk/projects/mac_atcmd/src/app/ssv_lib.c
w
called by 1539
platform/mcu/mx1101/sdk/CMSIS/Documentation/DSP/html/jquery.js
sensor_i2c_read
called by 900
drivers/sensor/hal/sensor_drv_api.c

Shape

Function 151,450
Class 15,843
Enum 3,416
Method 389
Route 12

Languages

C++50%
C49%
TypeScript1%
Python1%
Java1%

Modules by API surface

platform/mcu/atsamd5x_e5x/Drivers/hri/hri_can_e54.h2,209 symbols
platform/mcu/atsamd5x_e5x/Drivers/hri/hri_rtc_e54.h1,634 symbols
platform/mcu/atsamd5x_e5x/Drivers/hri/hri_nvic_e54.h1,524 symbols
platform/mcu/atsaml21/drivers/hri/hri_usb_l21.h1,358 symbols
platform/mcu/atsamd5x_e5x/Drivers/hri/hri_usb_e54.h1,358 symbols
platform/mcu/atsamd5x_e5x/Drivers/hri/hri_tcc_e54.h1,349 symbols
platform/mcu/atsaml21/drivers/hri/hri_tcc_l21.h1,283 symbols
platform/mcu/atsamd5x_e5x/Drivers/hri/hri_sdhc_e54.h1,283 symbols
platform/mcu/atsamd5x_e5x/Drivers/hri/hri_sercom_e54.h1,127 symbols
platform/mcu/bk7231u/beken/driver/common/reg/reg_mac_pl.h980 symbols
platform/mcu/bk7231/beken/driver/common/reg/reg_mac_pl.h980 symbols
platform/mcu/atsaml21/drivers/hri/hri_sercom_l21.h947 symbols

For agents

$ claude mcp add AliOS-Things \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact