From f21124a304ad42762a7f41abcf50fdaa5237545e Mon Sep 17 00:00:00 2001 From: Mirabellensaft Date: Tue, 21 Feb 2023 14:18:57 +0100 Subject: [PATCH] change setup --- down-the-stack/dk_bsc/src/lib_solution.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/down-the-stack/dk_bsc/src/lib_solution.rs b/down-the-stack/dk_bsc/src/lib_solution.rs index 5884013..267f02b 100644 --- a/down-the-stack/dk_bsc/src/lib_solution.rs +++ b/down-the-stack/dk_bsc/src/lib_solution.rs @@ -1,7 +1,6 @@ -//! Hardware Abstraction Layer (HAL) for the nRF52840 Development Kit +//! Board Support Crate (BSC) for the nRF52840 Development Kit #![deny(missing_docs)] -#![deny(warnings)] #![no_std] use core::{ @@ -13,9 +12,12 @@ use core::{ use cortex_m::asm; use embedded_hal::digital::v2::{OutputPin as _, StatefulOutputPin}; +use nrf52840_hal as hal; pub use hal::pac::{ UARTE1, uarte0::{ baudrate::BAUDRATE_A as Baudrate, config::PARITY_A as Parity}}; + + use hal::{ gpio::{p0, Level, Output, Input, PullUp, Pin, Port, PushPull}, timer::OneShot, prelude::InputPin,