2017-04-15 10:29:42 -05:00
2017-04-12 22:46:07 -05:00
2017-04-10 09:34:37 -05:00
2017-03-12 13:01:08 -05:00
2017-03-12 13:01:08 -05:00
2017-03-12 13:01:08 -05:00
2017-03-12 13:01:08 -05:00
2017-03-12 13:01:08 -05:00
2017-04-15 09:38:08 -05:00

cortex-m-quickstart

Quickstart template to develop bare metal applications for Cortex-M microcontrollers

Usage

Note

The --template feature has been removed from Cargo recently. This command temporarily rollback to an older Cargo version to run the new command:

$ cargo +nightly-2017-04-01 new stm32f100xx --template https://github.com/japaric/cortex-m-quickstart

Where stm32f100xx is the name of the microcontroller family you are targeting.

In the Cargo project, you'll have to update the memory.x file to reflect the memory layout of your device. For example, for the microcontroller in the STM32VLDISCOVERY which has 128 KB of Flash memory and 8 KB of RAM:

MEMORY
{
  FLASH : ORIGIN = 0x08000000, LENGTH = 128K
  RAM : ORIGIN = 0x20000000, LENGTH = 8K
}

Supported microcontroller families

  • nrf51
  • stm32f100xx
  • stm32f103xx
  • stm32f30x

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
[Embedded Rust Book](https://docs.rust-embedded.org/book/intro/index.html) shenanigans
Readme 286 KiB
Languages
Rust 77.2%
Nix 11.7%
GDB 11.1%