Crates.io | gd32-hal |
lib.rs | gd32-hal |
version | 0.0.1 |
source | src |
created_at | 2022-03-16 14:51:16.909149 |
updated_at | 2022-03-16 14:51:16.909149 |
description | Hardware abstraction layer for the GD32 MCUs |
homepage | |
repository | https://github.com/gd32-rs/gd32-hal |
max_upload_size | |
id | 551217 |
size | 79,797 |
This repo is a fork from https://github.com/David-OConnor/stm32-hal and ported for GD32 series MCU. So, you should read stm32-hal's
Readme
file first.
This library provides high-level access to GD32 peripherals.
At the time I setup this repo, I found there are two different style of HAL-Impl crates for STM32:
one is the older crate per series style, there are different crate for different series of STM32, like the stm32f0xx-hal, stm32f1xx-hal, stm32f3xx-hal and so on. To my surprise, although those crates impl traits defined in embedded-hal
project, the impl detail and other API beyond embedded-hal
differs a lot.
another one is the younger all-in-one crate like stm32-hal
Since the all-in-one version:
This repo is a forked from stm32-hal project instead of stm32f3xx-hal project.
All kinds of contribute is welcomed since a single person of myself doesn't have enough energy. Now I will only port some basic peripheral and only target for GD32F303 series.
You can find the contribute guide in the stm32-hal project