Skip to content

Commit 6e37a07

Browse files
careyk007hannobraun
authored andcommitted
removing embedded-hal as direct dependency
1 parent 10de490 commit 6e37a07

File tree

16 files changed

+10
-15
lines changed

16 files changed

+10
-15
lines changed

boards/actinius-icarus/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ cortex-m = "0.6.0"
1616
cortex-m-rt = "0.6.10"
1717
panic-halt = "0.2.0"
1818
nrf9160-hal = { version = "0.1.0", path = "../../nrf9160-hal" }
19-
embedded-hal = "0.2.3"
2019

2120
[dev-dependencies]
2221
nb = "0.1.1"

boards/actinius-icarus/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use hal::{
2121
uarte::{self, Baudrate as UartBaudrate, Parity as UartParity, Uarte},
2222
};
2323

24-
use embedded_hal::digital::v2::{InputPin, OutputPin};
24+
use nrf9160_hal::hal::digital::v2::{InputPin, OutputPin};
2525

2626
pub use hal::pac;
2727

boards/adafruit-nrf52-bluefruit-le/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ edition = "2018"
1010

1111
[dependencies]
1212
nrf52832-hal = { path = "../../nrf52832-hal" }
13-
embedded-hal = "0.2.3"
1413

1514
[dev-dependencies]
1615
cortex-m-rt = "0.6.8"

boards/adafruit-nrf52-bluefruit-le/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use nrf52832_hal::{
1010
uarte, Uarte,
1111
};
1212

13-
use embedded_hal::digital::v2::OutputPin;
13+
use nrf52832_hal::hal::digital::v2::OutputPin;
1414

1515
#[allow(non_snake_case)]
1616
pub struct Board {

boards/adafruit_nrf52pro/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ edition = "2018"
1111

1212
[dependencies]
1313
nrf52832-hal = { path = "../../nrf52832-hal" }
14-
embedded-hal = "0.2.3"
1514

1615
[dev-dependencies]
1716
cortex-m-rt = "0.6.8"

boards/adafruit_nrf52pro/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
pub use nrf52832_hal as hal;
33
use crate::hal::gpio::{p0, Floating, Input};
44
pub use crate::hal::nrf52832_pac;
5+
pub use nrf52832_hal::hal as embedded_hal;
56

67
/// Maps the pins to the names printed on the device
78
pub struct Pins {

boards/nRF52-DK/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ cortex-m = "0.6.0"
1414
cortex-m-rt = "0.6.7"
1515
panic-halt = "0.2.0"
1616
nrf52832-hal = { version = "0.8.0", path = "../../nrf52832-hal" }
17-
embedded-hal = "0.2.3"
1817

1918
[dev-dependencies]
2019
nb = "0.1.1"

boards/nRF52-DK/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use nrf52832_hal::{
3737
},
3838
};
3939

40-
use embedded_hal::digital::v2::OutputPin;
40+
use nrf52832_hal::hal::digital::v2::OutputPin;
4141

4242
/// Provides access to all features of the nRF52-DK board
4343
#[allow(non_snake_case)]

boards/nRF52840-DK/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ cortex-m-rt = "0.6.5"
1919
cortex-m-semihosting = "~0.3"
2020
panic-semihosting = "~0.5"
2121
nb = "~0.1"
22-
embedded-hal = "0.2.3"
2322

2423
[features]
2524
rt = ["nrf52840-hal/rt"]

boards/nRF9160-DK/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ cortex-m = "0.6.0"
1616
cortex-m-rt = "0.6.7"
1717
panic-halt = "0.2.0"
1818
nrf9160-hal = { version = "0.1.0", path = "../../nrf9160-hal" }
19-
embedded-hal = "0.2.3"
2019

2120
[dev-dependencies]
2221
nb = "0.1.1"

0 commit comments

Comments
 (0)