2020-09-22 16:03:43 +00:00
|
|
|
[package]
|
|
|
|
name = "embassy-nrf"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[features]
|
2021-07-14 20:19:04 +00:00
|
|
|
|
|
|
|
# Reexport the PAC for the currently enabled chip at `embassy_nrf::pac`.
|
|
|
|
# This is unstable because semver-minor (non-breaking) releases of embassy-nrf may major-bump (breaking) the PAC version.
|
|
|
|
# If this is an issue for you, you're encouraged to directly depend on a fixed version of the PAC.
|
|
|
|
# There are no plans to make this stable.
|
|
|
|
unstable-pac = []
|
|
|
|
|
2020-11-01 16:17:24 +00:00
|
|
|
defmt-trace = [ ]
|
|
|
|
defmt-debug = [ ]
|
|
|
|
defmt-info = [ ]
|
|
|
|
defmt-warn = [ ]
|
|
|
|
defmt-error = [ ]
|
2020-09-22 16:03:43 +00:00
|
|
|
|
2021-05-11 01:04:59 +00:00
|
|
|
nrf52805 = ["nrf52805-pac"]
|
|
|
|
nrf52810 = ["nrf52810-pac"]
|
|
|
|
nrf52811 = ["nrf52811-pac"]
|
|
|
|
nrf52820 = ["nrf52820-pac"]
|
|
|
|
nrf52832 = ["nrf52832-pac"]
|
|
|
|
nrf52833 = ["nrf52833-pac"]
|
|
|
|
nrf52840 = ["nrf52840-pac"]
|
2020-09-22 16:03:43 +00:00
|
|
|
|
2021-08-20 13:42:42 +00:00
|
|
|
# Features starting with `_` are for internal use only. They're not intended
|
|
|
|
# to be enabled by other crates, and are not covered by semver guarantees.
|
|
|
|
_time-driver = ["embassy/time-tick-32768hz"]
|
|
|
|
|
|
|
|
gpiote = []
|
|
|
|
time-driver-rtc1 = ["_time-driver"]
|
2020-09-22 16:03:43 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-08-20 13:42:42 +00:00
|
|
|
embassy = { version = "0.1.0", path = "../embassy" }
|
2021-03-27 22:27:39 +00:00
|
|
|
embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["nrf"]}
|
2021-07-29 11:44:51 +00:00
|
|
|
embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" }
|
2020-11-01 16:17:24 +00:00
|
|
|
|
2021-09-10 22:10:46 +00:00
|
|
|
defmt = { version = "0.2.3", optional = true }
|
|
|
|
log = { version = "0.4.14", optional = true }
|
2021-08-18 22:56:11 +00:00
|
|
|
cortex-m-rt = ">=0.6.15,<0.8"
|
2021-09-10 22:10:46 +00:00
|
|
|
cortex-m = "0.7.3"
|
|
|
|
embedded-hal = "0.2.6"
|
|
|
|
embedded-dma = "0.1.2"
|
|
|
|
futures = { version = "0.3.17", default-features = false }
|
2021-05-11 01:04:59 +00:00
|
|
|
critical-section = "0.2.1"
|
2021-06-29 07:26:16 +00:00
|
|
|
rand_core = "0.6.3"
|
2020-09-22 16:03:43 +00:00
|
|
|
|
2021-09-10 22:10:46 +00:00
|
|
|
nrf52805-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
|
|
|
|
nrf52810-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
|
|
|
|
nrf52811-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
|
|
|
|
nrf52820-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
|
|
|
|
nrf52832-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
|
|
|
|
nrf52833-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
|
|
|
|
nrf52840-pac = { version = "0.10.1", optional = true, features = [ "rt" ] }
|