8a4ab29819
Resolves #187 Like the stm32 driver, this has both a non-blocking and blocking API, and implements `rand_core::RngCore` for the blocking API.
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
name = "embassy-nrf"
|
|
version = "0.1.0"
|
|
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
defmt-trace = [ ]
|
|
defmt-debug = [ ]
|
|
defmt-info = [ ]
|
|
defmt-warn = [ ]
|
|
defmt-error = [ ]
|
|
|
|
nrf52805 = ["nrf52805-pac"]
|
|
nrf52810 = ["nrf52810-pac"]
|
|
nrf52811 = ["nrf52811-pac"]
|
|
nrf52820 = ["nrf52820-pac"]
|
|
nrf52832 = ["nrf52832-pac"]
|
|
nrf52833 = ["nrf52833-pac"]
|
|
nrf52840 = ["nrf52840-pac"]
|
|
|
|
|
|
[dependencies]
|
|
embassy = { version = "0.1.0", path = "../embassy" }
|
|
embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["nrf"]}
|
|
embassy-extras = {version = "0.1.0", path = "../embassy-extras" }
|
|
|
|
defmt = { version = "0.2.0", optional = true }
|
|
log = { version = "0.4.11", optional = true }
|
|
cortex-m-rt = "0.6.13"
|
|
cortex-m = "0.7.1"
|
|
embedded-hal = { version = "0.2.4" }
|
|
embedded-dma = { version = "0.1.2" }
|
|
futures = { version = "0.3.5", default-features = false }
|
|
critical-section = "0.2.1"
|
|
rand_core = "0.6.3"
|
|
|
|
nrf52805-pac = { version = "0.1.0", optional = true, features = [ "rt" ]}
|
|
nrf52810-pac = { version = "0.9.0", optional = true, features = [ "rt" ]}
|
|
nrf52811-pac = { version = "0.9.1", optional = true, features = [ "rt" ]}
|
|
nrf52820-pac = { version = "0.1.0", optional = true, features = [ "rt" ]}
|
|
nrf52832-pac = { version = "0.9.0", optional = true, features = [ "rt" ]}
|
|
nrf52833-pac = { version = "0.9.0", optional = true, features = [ "rt" ]}
|
|
nrf52840-pac = { version = "0.9.0", optional = true, features = [ "rt" ]}
|