#svd2rust #arm #cortex-m

no-std k66

Peripheral access API for Kinetis K66 microcontrollers

1 unstable release

Uses old Rust 2015

0.0.1 May 7, 2019

#196 in #svd2rust

MIT license

27MB
1M SLoC

Crates.io License: MIT

k66

Peripheral access API for Kinetis K66 microcontroller

Getting Started

check out the following ressources to get started with embedded in Rust:

Examples can be found here.

Linker File

A linker file 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 there are some registers missing. see warnings

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
  • examples: build all examples

Dependencies