代码拉取完成,页面将自动刷新
# This file declares the dependencies for the Rust program.
[package]
name = "stm32-blue-pill-rust"
version = "0.3.2"
authors = ["Lee Lup Yuen <luppy@appkaki.com>"]
description = "A sample Rust application for STM32 Blue Pill microcontrollers"
keywords = ["arm", "cortex-m", "stm32", "bluepill"]
categories = ["embedded", "no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lupyuen/stm32-blue-pill-rust"
# To minimize the executable size, we should always compile with --release flag.
[profile.release]
# To optimize the usage of many crates, we should link with Link Time Optimization (LTO).
lto = true
codegen-units = 1
# Enable debugging in release mode.
debug = true
[dependencies]
stm32f103xx = { git = "https://github.com/japaric/stm32f103xx" }
stm32f103xx-hal = { git = "https://github.com/japaric/stm32f103xx-hal" }
[dependencies.cortex-m]
version = "0.5.0"
[dependencies.cortex-m-rt]
version = "0.5.0"
[dependencies.cortex-m-semihosting]
version = "0.3.0"
[dependencies.panic-semihosting]
version = "0.3.0"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。