From 005d335be56baaa9b7a86a714526b33d216858a4 Mon Sep 17 00:00:00 2001 From: Kjetil Kjeka Date: Tue, 10 Oct 2017 21:11:41 +0200 Subject: [PATCH] Added optional rt feature for populating interrupt vectors with weak symbols --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 18b0b5a..c21a3c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,3 +15,10 @@ license = "Apache-2.0/MIT" cortex-m = "0.3.1" bare-metal = "0.1.1" vcell = "0.1.0" + +[dependencies.cortex-m-rt] +optional = true +version = "0.3.6" + +[features] +rt = ["cortex-m-rt"] \ No newline at end of file