Add timer test, add g0, g4 tests.

This commit is contained in:
Dario Nieuwenhuis
2021-12-07 00:28:32 +01:00
parent 693690cb5a
commit dde6607aec
5 changed files with 52 additions and 8 deletions

View File

@ -5,10 +5,15 @@ name = "embassy-stm32-tests"
version = "0.1.0"
resolver = "2"
[features]
stm32f429zi = ["embassy-stm32/stm32f429zi"]
stm32g071rb = ["embassy-stm32/stm32g071rb"]
stm32g491re = ["embassy-stm32/stm32g491re"]
[dependencies]
embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] }
embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] }
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-tim2"] }
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "unstable-pac", "memory-x", "time-driver-tim2"] }
defmt = "0.3.0"
defmt-rtt = "0.3.0"
@ -19,10 +24,8 @@ embedded-hal = "0.2.6"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
[profile.dev]
codegen-units = 1
debug = 2
debug-assertions = true
incremental = false
opt-level = 's'
overflow-checks = true