-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (29 loc) · 923 Bytes
/
Cargo.toml
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
[package]
name = "starfive-flashloader"
version = "0.1.0"
edition = "2021"
authors = ["rmsyn <[email protected]>"]
categories = ["embedded", "hardware-support", "no-std"]
description = "`probe-rs` compatible flashloader for Starfive JH7110 boards"
keywords = ["riscv", "jh7110", "bsp"]
license = "GPL-3.0-only"
[dependencies]
panic-halt = "0.2.0"
jh7110-vf2-12a-pac = { git = "https://github.com/rmsyn/jh71xx-pac", optional = true }
jh7110-vf2-13b-pac = { git = "https://github.com/rmsyn/jh71xx-pac", optional = true }
riscv = "0.10"
[features]
visionfive2-12a = ["jh7110-vf2-12a-pac"]
visionfive2-13b = ["jh7110-vf2-13b-pac"]
std = []
[profile.dev]
debug = true
# Thanks to @9names for the config option suggestions:
# https://github.com/probe-rs/probe-rs/issues/1852#issuecomment-1793268620
[profile.release]
codegen-units = 1
lto = 'fat'
opt-level = 's'
[[bin]]
name = "write_sectors"
required-features = ["std"]