1 Star 17 Fork 3

Lee Lup Yuen 李立源 / stm32-blue-pill-rust

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Cargo.toml 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
Lee Lup Yuen 李立源 提交于 2018-07-11 02:40 . Restore Cargo.toml
# 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"
Rust
1
https://gitee.com/lupyuen/stm32-blue-pill-rust.git
git@gitee.com:lupyuen/stm32-blue-pill-rust.git
lupyuen
stm32-blue-pill-rust
stm32-blue-pill-rust
master

搜索帮助