HALified blinky

This commit is contained in:
2025-10-17 07:33:36 +02:00
parent 34b11fb262
commit 6e1c5370ba
2 changed files with 21 additions and 23 deletions

View File

@@ -10,7 +10,8 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7"
cortex-m-semihosting = "0.5"
panic-halt = "1.0.0"
# stm32f3 = "0.7.1"
stm32f3 = { version = "0.16.0", features = ["stm32f303"] }
stm32f3xx-hal = { version = "0.10.0", features = ["stm32f303xc"] }
# Uncomment for the panic example.
# panic-itm = "0.4.1"
@@ -21,9 +22,9 @@ panic-halt = "1.0.0"
# Uncomment for the device example.
# Update `memory.x`, set target to `thumbv7em-none-eabihf` in `.cargo/config`,
# and then use `cargo build --example device` to build it.
[dependencies.stm32f3]
features = ["stm32f303", "rt"]
version = "^0.16.0"
# [dependencies.stm32f3]
# features = ["stm32f303", "rt"]
# version = "^0.16.0"
# this lets you use `cargo fix`!
[[bin]]