Git Product home page Git Product logo

bobbin-blinky's Introduction

Bobbin Blinky

This repository contains a set of minimal Rust crates to blink LEDs on popular development boards.

These crates have no dependencies, and use hard-coded constants for register addresses. They are also compiled with opt-level="s" to simplify the compiled code and to eliminate the dependency on compiler_builtins.

Bobbin CLI

See Bobbin CLI for a Rust-based command line utility for building and deploying these applications.

Build and Deploy

In most cases, once you have Bobbin CLI and the required prerequisites for your board installed, you should be able to cd into the directory for your board and bobbin load to build and load the binary.

$ bobbin load
   Compiling nucleo-f429zi v0.1.0 (file:///home/bobbin/bobbin-blinky/nucleo-f429zi)
    Finished dev [optimized + debuginfo] target(s) in 0.12 secs
   text	   data	    bss	    dec	    hex	filename
    148	      0	      4	    152	     98	target/thumbv7em-none-eabihf/debug/nucleo-f429zi
     Loading target/thumbv7em-none-eabihf/debug/nucleo-f429zi
    Complete Successfully flashed device
      Loader Load Complete
$

In some cases, you may need to use bobbin run to start your application after loading it.

Troubleshooting

If you get errors or the board simply doesn't blink, here's a good list of things to check:

  • Make sure you have the most recent version of Bobbin CLI by running cargo install bobbin-cli --force.
  • Run bobbin check to see the versions of the prerequisites that Bobbin CLI can find. You may need to install newer versions of these prerequisites.
  • The next most likely cause is the firmware for the on-board debugger if your board has one. You may wish to review Bobbin CLI - Development Board Firmware for an overview of the situation and links to updated versions.

bobbin-blinky's People

Contributors

jcsoo avatar

Stargazers

Edward Shin avatar Vladimir avatar Youngsuk Kim avatar Micha Hoiting avatar Pavel Kirienko avatar Rikard Anglerud avatar Luca Capra avatar Vince van Oosten avatar Jay Oster avatar Daniel Egger avatar

Watchers

James Cloos avatar  avatar Pavel Kirienko avatar Daniel Egger avatar  avatar

Forkers

egribnau

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.