rename hal to nrf-hal for clarity

This commit is contained in:
Mirabellensaft 2023-02-21 13:50:23 +01:00
parent aa907e9f20
commit 6529d5019c
2 changed files with 4 additions and 2 deletions

View file

@ -2,14 +2,15 @@
authors = ["Jorge Aparicio <jorge.aparicio@ferrous-systems.com>", "Tanks Transfeld <tanks.transfeld@ferrous-systems.com"]
edition = "2018"
license = "MIT OR Apache-2.0"
name = "dk_template"
name = "dk_bsc"
version = "0.0.0"
[dependencies]
cortex-m = {version = "0.7.6", features = ["critical-section-single-core"]}
cortex-m-rt = "0.7.2"
embedded-hal = "0.2.7"
hal = { package = "nrf52840-hal", version = "0.14.0" }
nrf52840-hal = "0.14.0"
# hal = { package = "nrf52840-hal", version = "0.14.0" }
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
defmt = "0.3.2"
defmt-rtt = "0.3.2"

View file

@ -13,6 +13,7 @@ use core::{
use cortex_m::asm;
use embedded_hal::digital::v2::{OutputPin as _, StatefulOutputPin};
use nrf52840_hal as hal;
use hal::{
gpio::{p0, Level, Output, Pin, Port, PushPull},
timer::OneShot,