From 869113a693becf3ee466020c2dd5ae218402266b Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Sun, 26 Jul 2020 00:33:58 +1200 Subject: [PATCH] Use the std stub definitions from the 'avr-std-stub' crate --- Cargo.toml | 1 + src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4068c77..09125be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,7 @@ build = "core_generator/build.rs" keywords = ["avr", "arduino", "uno"] [dependencies] +avr-std-stub = "1.0" target-cpu-macro = "0.1" [build-dependencies] diff --git a/src/lib.rs b/src/lib.rs index c537772..81759f6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,6 +9,8 @@ #![no_std] +extern crate avr_std_stub; + pub use self::register::{Register, RegisterBits, RegisterValue}; pub use self::pin::{DataDirection, Pin};