From 70166d4ef5d5c064330d007c0ba94a2d09e4872d Mon Sep 17 00:00:00 2001 From: Astro <astro@spaceboyz.net> Date: Thu, 22 Aug 2019 19:39:38 +0200 Subject: [PATCH] README: update --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c03a84..d9a5b89 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,23 @@ ## Usage -You need arm-none-eabihf-gcc and Rust nightly. Use rustup or NixOS. +You need arm-none-eabi-gcc and Rust nightly. Use rustup or NixOS. ```shell rustup update nightly rustup override set nightly -rustup target add thumbv7em-none-eabihf +rustup target add thumbv7em-none-eabi +``` + +Check out this repo's submodule (the C firmware). + +```shell cd example cargo build --release ``` Then copy the resulting -`../target/thumbv7em-none-eabihf/release/l0dable-example` to the badge +`../target/thumbv7em-none-eabi/release/l0dable-example` to the badge in USB Mass Storage mode. Don't forget to rename with the `.elf` extension! -- GitLab