chore: test FourWire with embedded-hal-mock:

- Add dev-dependencies for embedded-hal-mock
- add docs for FourWire
- add tests for SPI frames transactions

Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
This commit is contained in:
Lachezar Lechev 2023-07-12 17:57:28 +03:00
commit ed49f20ead
No known key found for this signature in database
GPG key ID: B2D641D6A2C8E742
2 changed files with 116 additions and 12 deletions

View file

@ -10,14 +10,18 @@ license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2018"
[features]
no-chip-version-assertion = []
[dependencies]
byteorder = { version = "1.3.4", default-features = false }
embedded-hal = "0.2.4"
embedded-hal = "0.2"
embedded-nal = "0.6.0"
bit_field = "0.10.1"
bit_field = "0.10"
derive-try-from-primitive = "1"
nb = "1.0.0"
defmt = { version = "0.3", optional = true }
[features]
no-chip-version-assertion = []
[dev-dependencies]
embedded-hal-mock = "0.9"
defmt = { version = "0.3" }