Added unit tests!!
This commit is contained in:
parent
501230e121
commit
3e29d8bc6a
15 changed files with 335 additions and 183 deletions
29
hardware_main/Cargo.toml
Normal file
29
hardware_main/Cargo.toml
Normal file
|
@ -0,0 +1,29 @@
|
|||
[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"
|
||||
independent_logic = {path="../independent_logic"}
|
||||
|
||||
[features]
|
||||
v2 = ["microbit-v2"]
|
||||
v1 = ["microbit"]
|
||||
calibration=[]
|
||||
default = ["v2"]
|
Loading…
Add table
Add a link
Reference in a new issue