-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (61 loc) · 1.61 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (61 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "cu-rz"
version = "0.1.0"
edition = "2024"
rust-version = "1.95"
description = "Minimal Copper BSP bring-up for the Renesas Starter Kit+ for RZ/T2M"
authors = ["Guillaume Binet <gbin@gootz.net>"]
default-run = "main"
publish = false
[[bin]]
name = "cu-rz-blinky"
path = "src/firmware.rs"
required-features = ["firmware"]
[[bin]]
name = "main"
path = "src/main.rs"
[dependencies]
cu29 = { path = "../copper-rs/core/cu29", version = "1.0.0", default-features = false, features = [
"log-level-debug",
"textlogs",
] }
bincode = { version = "2.0", default-features = false, features = ["derive"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
cortex-r-rt = { version = "0.2.1", features = ["eabi-fpu"], optional = true }
defmt = { version = "1.0", optional = true }
defmt-rtt = { version = "1.0", optional = true }
buddy_system_allocator = { version = "0.11", optional = true }
critical-section = { version = "1", features = ["restore-state-u32"], optional = true }
portable-atomic = { version = "1.11", optional = true, default-features = false, features = [
"fallback",
"float",
"require-cas",
] }
spin = { version = "0.12", optional = true }
[workspace]
[profile.dev]
opt-level = 0
debug = 2
debug-assertions = true
overflow-checks = true
panic = "abort"
[profile.release]
opt-level = "z"
debug = 1
panic = "abort"
lto = true
codegen-units = 1
[features]
default = []
firmware = [
"cu29/defmt",
"bincode/alloc",
"serde/alloc",
"dep:cortex-r-rt",
"dep:defmt",
"dep:defmt-rtt",
"dep:buddy_system_allocator",
"dep:critical-section",
"dep:portable-atomic",
"dep:spin",
]