AliOS Things提供统一的硬件抽象层函数,使得用户应用可以在各种不同硬件之间快速移植。

下表是当前各种不同MCU的硬件抽象层函数对接实现情况,后续会不断更新。
mcu\dev uart gpio i2c spi flash adc dac pwm rtc timer wdg
atsamd5x_e5x port(0,2) - × × × × × × ×
bk7231 port(1,2) × × × × × ×
bk7231u port(1,2) × × × × × ×
csky × × × × × × × ×
cy8c4147 × × × × × × × ×
cy8c6347 × × × × × × × ×
dahua × × × × × × × × ×
efm32gxx port(0,1) × × × × × × × × ×
es8p508x × × × × × × × × × ×
esp32 × ×
esp8266 port(0) × × × × × × × × ×
freedom-e × × × × × × × × × ×
gd32f4xx × × × × × × × × ×
imx6 × × × × × × × × × × ×
lpc54018 × × × × × × × × ×
lpc54102 × × × × ×
lpc54144 × × × × × × × × ×
lpc54608 × × × × × × × ×
lpc54628 × × × × × × × × ×
mimxrt1021 × × × × × × × × ×
mimxrt1052 × × × × × × × × ×
mkl26z4 × × × × × × × × ×
mkl27z644 × × × × × × × × ×
mkl26z7 × × × × × × × × ×
mkl43z4 × × × × × × × × ×
mkl81z7 × × × × × × × × ×
mkl82z7 × × × × × × × × ×
moc108 port(1,2) × × ×
msp432p4xx √(io) × × × × × × ×
mx1101 × × × × × × × × ×
nrf52xxx × × × × × × ×
r5f100lea × × × × × × × × × × ×
r5f565ne × × × × × × × × × × ×
r7f0c004 × × × × × × × × × × ×
rda5981x × × × × × ×
rda8955 × × × × × × × × × ×
rtl8710bn × × × × × ×
stm32f4xx × × × × × × ×
stm32f4xx_cube × × × × × × ×
stm32f7xx port(1) × × × × × × × × ×
stm32l0xx × × × × × × × × ×
stm32l4xx √(io) × × × ×
stm32l4xx_cube × × × ×
stm32l475 √(io) × × × × × ×
xm510 × × × × × × × × ×
说明
  • port(0,1)表示只对接了port0和port1。
  • (io)表示只对接了gpio的输入输出翻转功能,未对接中断功能。