mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-04-01 09:00:18 +02:00
36 lines
887 B
TOML
36 lines
887 B
TOML
|
|
[package]
|
|
edition = "2024"
|
|
name = "uart"
|
|
version = "0.1.0"
|
|
license = "MIT or Apache-2.0"
|
|
|
|
[build-dependencies]
|
|
regex = "1.11.0"
|
|
|
|
[dependencies]
|
|
cortex-m = "0.7"
|
|
cortex-m-rt = "0.7"
|
|
embedded-hal = "1.0.0"
|
|
embedded-hal-nb = "1.0.0"
|
|
nb = "1.1.0"
|
|
fugit = "0.3"
|
|
defmt = "1"
|
|
defmt-rtt = "1"
|
|
|
|
[target.'cfg( target_arch = "arm" )'.dependencies]
|
|
panic-probe = { version = "1", features = ["print-defmt"] }
|
|
|
|
[target.'cfg( target_arch = "riscv32" )'.dependencies]
|
|
panic-halt = { version = "1.0.0" }
|
|
|
|
[target.thumbv6m-none-eabi.dependencies]
|
|
rp2040-boot2 = "0.3"
|
|
rp2040-hal = { version = "0.11", features = ["rt", "critical-section-impl"] }
|
|
|
|
[target.riscv32imac-unknown-none-elf.dependencies]
|
|
rp235x-hal = { version = "0.3", features = ["rt", "critical-section-impl"] }
|
|
|
|
[target."thumbv8m.main-none-eabihf".dependencies]
|
|
rp235x-hal = { version = "0.3", features = ["rt", "critical-section-impl"] }
|