30 lines
943 B
TOML
30 lines
943 B
TOML
[package]
|
|
name = "nrf52840-i2c-scanner"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "0BSD"
|
|
authors = ["Sebastian Hugentobler <shu@vanwa.ch>"]
|
|
repository = "https://code.vanwa.ch/shu/nrf-i2c-scanner"
|
|
|
|
[dependencies.embassy-nrf]
|
|
version = "0.1.0"
|
|
git = "https://github.com/embassy-rs/embassy.git"
|
|
rev = "3c52ef60b19468a8700d612699c869f0bdcae339"
|
|
features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac", "time"]
|
|
|
|
[dependencies.embassy-executor]
|
|
version = "0.5.0"
|
|
git = "https://github.com/embassy-rs/embassy.git"
|
|
rev = "3c52ef60b19468a8700d612699c869f0bdcae339"
|
|
features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"]
|
|
|
|
[dependencies]
|
|
defmt = "0.3.6"
|
|
defmt-rtt = "0.4.0"
|
|
|
|
panic-probe = { version = "0.3.1", features = ["print-defmt"] }
|
|
|
|
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.4"
|
|
|