[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 = "stm32-hal2", version = "1.8.3", features = ["l4x3", "l4rt"] } hal = { package = "stm32l0xx-hal", version = "0.10.0", features = [ "rt", "stm32l0x3", "flash-192", "ram-20", # "mcu-STM32L053R8", # does not exist in that crate ] } [[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