Added unit tests!!
This commit is contained in:
parent
501230e121
commit
3e29d8bc6a
15 changed files with 335 additions and 183 deletions
31
Cargo.toml
31
Cargo.toml
|
@ -1,28 +1,3 @@
|
|||
[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
|
||||
|
||||
[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"] }
|
||||
lsm303agr = "0.2.2"
|
||||
libm = "0.2.1"
|
||||
embedded-hal = "0.2.6"
|
||||
|
||||
[features]
|
||||
v2 = ["microbit-v2"]
|
||||
v1 = ["microbit"]
|
||||
calibration=[]
|
||||
default = ["v2"]
|
||||
[workspace]
|
||||
members = ["hardware_main", "independent_logic"]
|
||||
resolver = "2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue