GithubHelp home page GithubHelp logo

isabella232 / solo-bsc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from solokeys/solo-bsc

0.0 0.0 0.0 47 KB

Rust board support crate for the Solo security key

License: Apache License 2.0

Rust 71.86% Makefile 22.66% GDB 5.48%

solo-bsc's Introduction

License License Crates

solo-bsc

This is a (WIP!) Rust board support package for the open source Solo security key.

This key consists of:

  • an STM32L432KC microcontroller
  • either a USB-A or USB-C connector
  • a clicky dome button
  • 3 LEDs
  • an NCP114 voltage regulator
  • and various resistors, capacitors, and Zener diodes

One specialty is that it has a custom USB bootloader, allowing easy updates. To use it, FLASH ORIGIN in memory.x needs to be set to 0x800_5000 instead of the conventional 0x800_0000. Alternatively, the ST DFU bootloader can be used. Additionally, serial TX/RX and all SWD pins (SWDIO, SWCLK, SWO) are kind of broken out.

Quickstart

You need stable Rust 2018 edition, for details see the embedded book, in short:

curl https://sh.rustup.rs -sSf | sh
rustup target add thumbv7em-none-eabihf
cargo install cargo-binutils
rustup component add llvm-tools-preview

To build blinky, run make blinky. You end up with a blinky.hex file.

To flash it to your Solo Hacker:

  • insert Solo and boot to Solo bootloader by pressing the button for ~2 seconds (it starts to blink)
  • setup Solotool and make sure you can flash the original solo.hex
  • run tools/solotool.py /path/to/blinky.hex
  • watch the green LED blink ๐ŸŽ‰

License

Licensed under either of

at your option.

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.

solo-bsc's People

Contributors

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