From 8545dda435cca19528b3c98aba21e207e3f0f676 Mon Sep 17 00:00:00 2001 From: Daniel Stutman Date: Sat, 20 Apr 2019 22:16:56 +0200 Subject: [PATCH] Fixes rust-lld errors when building example Building the previous main.rs failed with: ERROR(cortex-m-rt): The interrupt vectors are missing. Including the microbit crate in the example fixes this. --- src/getting-started/01.00.BUILD.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/getting-started/01.00.BUILD.md b/src/getting-started/01.00.BUILD.md index 4ed17e7..44fda3c 100644 --- a/src/getting-started/01.00.BUILD.md +++ b/src/getting-started/01.00.BUILD.md @@ -237,6 +237,7 @@ and cargo will automatically add `--target thumbv6m-none-eabi`. #![no_main] extern crate panic_halt; +extern crate microbit; use cortex_m_rt::entry; @@ -272,6 +273,7 @@ An easy way to implement this is to use an infinite loop. #![no_main] extern crate panic_halt; +extern crate microbit; use cortex_m_rt::entry;