1 Star 0 Fork 0

yalight/stm32-hal-quickstart

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Cargo.toml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
David O'Connor 提交于 2021-11-10 20:32 . Updated for defmt 0.3.0
[package]
authors = ["Your name <[email protected]>"]
name = "Project name"
edition = "2018"
version = "0.1.0"
[dependencies]
defmt = "0.3.0"
defmt-rtt = "0.3.0"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
cortex-m = "0.7.3"
cortex-m-rt = "0.7.0"
# Change this import as required for your MCU.
stm32-hal2 = { version = "^1.3.1", features = ["l4x3", "l4rt"]}
# stm32-hal2 = { version = "^1.2.0", features = ["h743v", "h7rt"]}
# cargo build/run
[profile.dev]
codegen-units = 1
debug = 2
debug-assertions = true # <-
incremental = false
opt-level = 3 # <-
overflow-checks = true # <-
# cargo test
[profile.test]
codegen-units = 1
debug = 2
debug-assertions = true # <-
incremental = false
opt-level = 3 # <-
overflow-checks = true # <-
# cargo build/run --release
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false # <-
incremental = false
lto = 'fat'
opt-level = 3 # <-
overflow-checks = false # <-
# cargo test --release
[profile.bench]
codegen-units = 1
debug = 2
debug-assertions = false # <-
incremental = false
lto = 'fat'
opt-level = 3 # <-
overflow-checks = false # <-
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cekongnet/stm32-hal-quickstart.git
[email protected]:cekongnet/stm32-hal-quickstart.git
cekongnet
stm32-hal-quickstart
stm32-hal-quickstart
main

搜索帮助