Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.25 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.25 KB

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.