gd32-hal

Crates.iogd32-hal
lib.rsgd32-hal
version0.0.1
sourcesrc
created_at2022-03-16 14:51:16.909149
updated_at2022-03-16 14:51:16.909149
descriptionHardware abstraction layer for the GD32 MCUs
homepage
repositoryhttps://github.com/gd32-rs/gd32-hal
max_upload_size
id551217
size79,797
mmh (myrfy001)

documentation

https://docs.rs/gd32-hal

README

GD32-HAL

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.

About this repo

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:

  • api is more easy to learn
  • more easy to port from one device to another
  • source code is more easy to read and thus it easier for others to contribute

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

Commit count: 2

cargo fmt