SiFli HAL
中文 | English
Rust Hardware Abstraction Layer (HAL) and Embassy driver for SiFli MCUs.
[!WARNING]
This project is working-in-progress and not ready for production use.
Let's GO!
Status
Features
-
defmt,log: Debug log output. -
sf32lb52x: Target chip selection. Currently, onlysf32lb52xis supported. -
set-msplim: Set the MSPLIM register in__pre_init. This register must be set before the main function’s stack setup (since the bootloader may have already configured it to a different value), otherwise, it will cause a HardFault SiFli-SDK #32.This feature will be removed after cortex-m-rt #580 is released.
-
time-driver-xxx: Timer configuration fortime-driver. It requires at least two capture/compare channels. For thesf32lb52x hcpu, onlyatim1(TODO: #5),gptim1, andgptim2are available. -
unchecked-overclocking: Enable this feature to disable the overclocking check. DO NOT ENABLE THIS FEATURE UNLESS YOU KNOW WHAT YOU'RE DOING.
License
This project is under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).