Skip to content

gauteh/ambiq-rs

Repository files navigation

Ambiq-rs: HAL for Ambiq Apollo

This project consists of two main crates:

1.) ambiq-hal-sys is bindings to the Ambiq Suite SDK as modified by Sparkfun.

2.) ambiq-hal is a embedded-hal based Hardware Abstraction Layer (HAL) for the Ambiq Apollo.

Eventually the board support crates will make it easier to determine which pins (as labelled on the board) match the pads and peripherals on the Apollo MCU.

Getting started

Take a look at the example in quickstart for how to get started. Remeber to select the correct board.

Boards

The board crates are not very useful yet.

MCUs

Interrupts and pre_init

The Sparkfun bootloader does not update the pointer to the interrupt vectors (this should be done by the C runtime). We therefore set the correct address in cortex_m_rt::pre_init, this means that you can't use pre_init for your code.

About

Rust HAL for the Ambiq Apollo MCU and boards

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages