add embassy::main and implement for stm32f4

This commit is contained in:
xoviat
2021-03-27 17:27:39 -05:00
parent 19b959b0f8
commit 6ee9e012fc
9 changed files with 343 additions and 39 deletions

View File

@ -35,6 +35,7 @@ stm32l0x3 = ["stm32l0xx-hal/stm32l0x3"]
[dependencies]
embassy = { version = "0.1.0", path = "../embassy" }
embassy-macros = { version = "0.1.0", path = "../embassy-macros", features = ["stm32"]}
defmt = { version = "0.2.0", optional = true }
log = { version = "0.4.11", optional = true }