WIP, learning embassy.
This commit is contained in:
parent
26a1da2cb9
commit
b894d424aa
6 changed files with 73 additions and 456 deletions
|
@ -1,30 +1,20 @@
|
|||
[package]
|
||||
name = "led-compass"
|
||||
version = "0.1.0"
|
||||
authors = ["Henrik Böving <hargonix@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies.microbit-v2]
|
||||
version = "0.12.0"
|
||||
optional = true
|
||||
|
||||
[dependencies.microbit]
|
||||
version = "0.12.0"
|
||||
optional = true
|
||||
authors = ["Gabriel Venberg"]
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7.3"
|
||||
cortex-m-rt = "0.7.0"
|
||||
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
|
||||
panic-rtt-target = { version = "0.1.2", features = ["cortex-m"] }
|
||||
panic-halt = "0.2.0"
|
||||
lsm303agr = "0.2.2"
|
||||
libm = "0.2.1"
|
||||
embedded-hal = "0.2.6"
|
||||
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section-single-core"] }
|
||||
cortex-m-rt = "0.7.5"
|
||||
defmt = "1.0.1"
|
||||
defmt-rtt = "1.0.0"
|
||||
embassy-executor = { version = "0.7.0", features = ["arch-cortex-m", "executor-thread", "defmt"] }
|
||||
embassy-nrf = { version = "0.3.1", features = ["defmt", "nrf52833", "gpiote", "time-driver-rtc1", "time"] }
|
||||
embassy-time = { version = "0.4.0", features = ["defmt", "defmt-timestamp-uptime"] }
|
||||
lsm303agr = { version = "1.1.0", features = ["async"] }
|
||||
panic-probe = { version = "1.0.0", features = ["print-defmt"] }
|
||||
independent_logic = {path="../independent_logic"}
|
||||
embassy-futures = { version = "0.1.1", features = ["defmt"] }
|
||||
embassy-sync = { version = "0.7.0", features = ["defmt"] }
|
||||
|
||||
[features]
|
||||
v2 = ["microbit-v2"]
|
||||
v1 = ["microbit"]
|
||||
calibration=[]
|
||||
default = ["v2"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue