项目作者: ju6ge

项目描述 :
Hardware Abstraction Layer for ATSAMX7X architechture
高级语言: Rust
项目地址: git://github.com/ju6ge/atsamx7x-hal.git
创建时间: 2020-04-07T20:05:39Z
项目社区:https://github.com/ju6ge/atsamx7x-hal

开源协议:MIT License

下载


ATSAMx7x Hardware Abstraction Layer

This crate implementats traits from [embedded-hal] (https://crates.io/crates/embedded-hal) for the Atmel SAMEX7X architechture.

It is still in the early stages of development, and is currently geared to run on an atsme70q21 cpu. But contributions are welcome.

Dependencies

  • rust-std components (pre-compiled core crate) for the ARM Cortex-M
    targets. Run:
  1. $ rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf

What works

  • Clock initialisation
  • Delays
  • GPIO
  • UART
  • SDRAMC

Todo

  • SPI
  • I2C
  • DMA
  • Watchdog
  • all other peripherals

OpenOCD

The openocd configuration provided works for my board which is not an off the shelf board. So don’t expected to just work for your platform.