Skip to content

An autonomous S&R robot built for our 3B term project

Notifications You must be signed in to change notification settings

a-gratton/herbie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Herbie

An autonomous S&R robot built for our 3B term project.

This repo consists of two projects- the CAD files for herbies mechanical design and the source code for the embedded application (braincell)

Braincell

Braincell is the embedded application for herbie, designed to run on a STM32F446 microcontroller.

Building Braincell

Rust Installation

Braincell is written in rust and compiled with cargo. To install rust, follow the guide from the rust book.

You will also need to install some embedded-specific applications to successfully build braincell- I recommend following the embedded rust guide. Note that this project targets an STM32F4 procesor, so the command for installing the required target is:

$ rustup target add thumbv7em-none-eabihf

ST-Link Command Line Tool Installation

Follow the ST-Link GitHub page to install the ST-Link command line tool.

Building and Flashing Blinky

Once you have the required tooling, test your setup with the blinky example:

cd braincell
./brainbuild.py --example blinky flash

Brainbuild is the build script tool that builds and flashes the target in one simple command. You can also build with the regular cargo build workflow, but you'll have to manually extract the built binary and flash it with ST-Link.

Important Dependencies

Braincell uses rtic.rs (Real-Time Interrupt-driven Concurrency) as its RTOS and stm32f4xx-hal as its hardware abstraction layer.

About

An autonomous S&R robot built for our 3B term project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published