GithubHelp home page GithubHelp logo

rust-embedded-examples's Introduction

Rust Embedded Examples

A collection of embedded Rust examples using the stm32f1xx-hal crate and the Real-Time Interrupt-driven Concurrency (RTIC) framework.

The examples can be found in the examples folder. Each example is a project itself, meaning they can be run separately.

The platform used for all examples is the NUCLEO-F103RB which contains a STM32F103RB MCU.

Examples List

  • blink-no-hal: A blink project showing how to access a peripheral without using the HAL crate;
  • blink-hal: A blink project using the stm32f1xx-hal crate;
  • serial-echo: A project that implements a serial echo on USART2;
  • serial-pwm-polling: This project handles a simple serial communication protocol by polling the USART2 in order to control a RGB LED and a buzzer using PWM;
  • serial-pwm-interrupt: This project handles a simple serial communication protocol through serial interruptions in order to control a RGB LED and a buzzer using PWM;
  • rtic-serial: A project using the RTIC framework in order to control an LED through USART2 peripheral;
  • rtic: A project using the RTIC framework where a serial communication protocol is implemented in order to control an LED, a LED RGB and a LCD display.

References

The Embedded Rust Book
Real-Time Interrupt-driven Concurrency (RTIC)
Rust and STM32: A Quick Start Guide

Related Projects

stm32f1xx_hal
cortex-m-rtic
rust-lcd-display

rust-embedded-examples's People

Contributors

hbacelar8 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.