Carry-over Infineon basis

This commit is contained in:
Jan-Peter von Hunnius 2025-10-02 19:28:58 +02:00
parent 7bdbb13177
commit b2152284dd
8 changed files with 567 additions and 2 deletions

View file

@ -2,5 +2,48 @@
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"
# Infineon Traveo specific dependencies
traveo-hal = { git = "https://github.com/Infineon/traveo-hal.git", optional = true }
[dependencies.cortex-m-semihosting]
version = "0.5"
optional = true
[features]
default = ["rt"]
rt = ["cortex-m-rt/device"]
semihosting = ["cortex-m-semihosting"]
# Infineon Traveo specific features
traveo-cyt2b7 = ["traveo-hal/cyt2b7"]
traveo-cyt2b9 = ["traveo-hal/cyt2b9"]
traveo-cyt4bf = ["traveo-hal/cyt4bf"]
traveo-cyt4dn = ["traveo-hal/cyt4dn"]
[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"