Giter VIP home page Giter VIP logo

spi-st7735-lcd's Introduction

stm32-template

A template for building applications for STM32 microcontrollers

Dependencies

To build embedded programs using this template you'll need:

$ cargo install cargo-generate
  • Flash and run/debug tools:
$ cargo install probe-rs --features cli
  • rust-std components (pre-compiled core crate) for the ARM Cortex-M targets. Run:
$ rustup target add thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf

Instantiate the template.

  1. Run and enter project name
$ cargo generate --git https://github.com/burrbull/stm32-template/
 Project Name: app
  1. Specify chip product name and answer on several other guide questions.

  2. Your program is ready to compile:

$ cargo build --release

Flash and run/debug

You can flash your firmware using one of those tools:

  • cargo flash --release — just flash
  • cargo run --release — flash and run using probe-rs run runner or probe-run runner (deprecated) which you can set in .cargo/config.toml
  • cargo embed --release — multifunctional tool for flash and debug

You also can debug your firmware on device from VS Code with probe-rs extention or with probe-rs gdb command. You will need SVD specification for your chip for this. You can load patched SVD files here.

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.

Code of Conduct

Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, promises to intervene to uphold that code of conduct.

spi-st7735-lcd's People

Contributors

vaksick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.