[![Crates.io](https://img.shields.io/crates/v/k66.svg)](https://crates.io/crates/k66) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) # k66 Peripheral access API for Kinetis K66 microcontroller ## Getting Started check out the following ressources to get started with embedded in Rust: * [Embedded Rust documentation](https://docs.rust-embedded.org) * [Embedded in Rust](http://blog.japaric.io) * [NXP K66 Sub-Family Reference Manual](https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf) Examples can be found [here](examples). ## Linker File A [linker file](memory.x) can be found in the repository. The smaller `SRAM_L` section (`64K`) is used for the stack and the larger `SRAM_U` section (`192K`) is used for the ram. **Attention:** An un-aligned access across both sections can result in a hard fault! ## Issues Due to [svd2rust Issue 16](https://github.com/japaric/svd2rust/issues/16) there are some registers missing. see [warnings](WARNINGS.md) ## Development The following `make` commands are available: * `setup`: installs tools * `generate`: generates new sources from svd file * `package`: creates a local package * `publish`: publishes to [crates.io](http://www.crates.io) * `examples`: build all examples