All checks were successful
build / build-test (push) Successful in 23s
40 lines
752 B
TOML
40 lines
752 B
TOML
[package]
|
|
name = "rustysar"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Your Name <your.email@example.com>"]
|
|
description = "Infineon Traveo Rust Application"
|
|
categories = ["embedded", "no-std"]
|
|
keywords = ["traveo", "cortex-m", "embedded"]
|
|
|
|
[dependencies]
|
|
cortex-m = "0.7"
|
|
cortex-m-rt = "0.7"
|
|
embedded-hal = "0.2"
|
|
panic-halt = "0.2"
|
|
nb = "1.0"
|
|
|
|
[dependencies.cortex-m-semihosting]
|
|
version = "0.5"
|
|
optional = true
|
|
|
|
[features]
|
|
default = ["rt"]
|
|
rt = ["cortex-m-rt/device"]
|
|
semihosting = ["cortex-m-semihosting"]
|
|
|
|
[target.thumbv6m-none-eabi.dependencies]
|
|
cortex-m = "0.7"
|
|
|
|
[target.thumbv7em-none-eabi.dependencies]
|
|
cortex-m = "0.7"
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = true
|
|
lto = true
|
|
opt-level = "s"
|
|
|
|
[profile.dev]
|
|
debug = true
|
|
opt-level = "s"
|