Skip to content

Rust language blink demo for EFM32GG Cortex M3 ARM microcontrollers.

Notifications You must be signed in to change notification settings

sondrele/geckoboot.rs

 
 

Repository files navigation

geckoboot.rs

A blinky demo for using the Rust programming language bare metal on EFM32GG_STK3700 Giant Gecko starter kit from Silicon Labs.

This repository is based on https://github.com/neykov/armboot/ and adapted for the Giant Gecko kit.

Requirements:

  • arm-none-eabi toolchain
  • llvm-3.6 (nightly) toolchain
  • rustc (tested on "rustc 1.0.0-nightly (44a287e6 2015-01-08 17:03:40 -0800)")
  • Rust libcore compiled for arm (tested at 44a287e6)

Setup:

Edit "Makefile" with the follow paths

  • rust source
  • rustc compiler
  • gcc-toolchain
  • llvm
  • efm32 library code
  • eACommander

Linux Setup Notes

Compiling:

´make flash PROJ_NAME=´ excluding .rs

Structure

  • blinky.rs - sample program (blinks LED1 and LED0 on the EFM32GG_STK3700 board)
  • buttons.rs - sample program (hooks up PB0 and PB1 with LED0 and LED1 on the EFM32GG_STK3700 board)
  • emlib/ - rust bindings for emlib
  • emdrv/ - rust bindings for emdrv

Credits

About

Rust language blink demo for EFM32GG Cortex M3 ARM microcontrollers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 60.8%
  • C 23.0%
  • Makefile 16.2%