29 lines
704 B
TOML
Executable file
29 lines
704 B
TOML
Executable file
[package]
|
|
name = "nucleo-l053r8-blink"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.3"
|
|
panic-rtt-target = "0.1.3"
|
|
rtt-target = "0.5.0"
|
|
hal = { package = "stm32l0xx-hal", version = "0.10.0", features = [
|
|
"rt",
|
|
# "stm32l0x3",
|
|
# "flash-192",
|
|
# "ram-20",
|
|
# "io-STM32L051",
|
|
# "mcu-STM32L053R8", # does not exist in that crate
|
|
# "disable-linker-script",
|
|
"mcu-STM32L053R8Hx",
|
|
] }
|
|
|
|
[[bin]]
|
|
name = "nucleo-l053r8-blink"
|
|
test = false
|
|
bench = false
|
|
|
|
[profile.release]
|
|
opt-level = 'z' # turn on maximum optimizations. We only have 64kB
|
|
lto = true # Link-time-optimizations for further size reduction
|