forked from Altaflux/gb-rp2350
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
91 lines (83 loc) · 2.39 KB
/
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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[package]
authors = ["Altaflux"]
categories = ["embedded", "hardware-support", "no-std", "no-std::no-alloc"]
description = "Gameboy emulator for the rp2350"
edition = "2021"
homepage = "https://github.com/Altaflux/gb-rp2350"
keywords = [
"embedded",
"hal",
"raspberry-pi",
"rp235x",
"rp2350",
"embedded-hal",
]
license = "MIT OR Apache-2.0"
name = "gb-rp2350"
repository = "https://github.com/Altaflux/gb-rp2350"
rust-version = "1.77"
version = "0.1.0"
[dependencies]
byte-slice-cast = { version = "1.2.2", default-features = false }
display-interface = "0.5"
embedded-graphics-core = "0.4.0"
embedded-graphics = "0.8.1"
display-interface-spi = "0.5.0"
mipidsi = { version = "0.8.0", default-features = false }
gb-core = { git = "https://github.com/Altaflux/rust-gb.git", rev = "0504e7964eda437ccfdac72144db03d579d84eed", default-features = false }
embedded-hal-bus = { version = "0.2.0", features = ["defmt-03"] }
embedded-io = "0.6.1"
# We aren't using this, but embedded-hal-bus 0.2 unconditionally requires atomics.
# Should be fixed in e-h-b 0.3 via https://github.com/rust-embedded/embedded-hal/pull/607
portable-atomic = { version = "1.9.0", features = ["critical-section"] }
num-traits = { version = "0.2.19", default-features = false, features = [
"libm",
] }
cortex-m = { version = "0.7.2" }
cortex-m-rt = "0.7.5"
critical-section = { version = "1.2.0" }
defmt = "0.3.10"
embedded-sdmmc = { version = "0.8.1", features = [
# "defmt-log",
], default-features = false }
embedded-alloc = "0.6.0"
embedded-hal = "1.0.0"
embedded-hal-async = "1.0.0"
embedded-dma = "0.2.0"
paste = "1.0.15"
const-lru = "1.0.0"
fugit = "0.3.6"
pio = "0.2.0"
pio-proc = "0.2.0"
rp235x-hal = { git = "https://github.com/Altaflux/rp-hal.git", branch = "xip_cs1", features = [
"binary-info",
"critical-section-impl",
"rt",
"defmt",
] }
defmt-serial = "0.10.0"
static_cell = "2.1.0"
panic-probe = { version = "0.3.2", features = ["defmt", "print-defmt"] }
const_env = "0.1.2"
[build-dependencies]
dotenvy = { git = "https://github.com/allan2/dotenvy.git", features = [
"macros",
] }
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 3
overflow-checks = true
[profile.release.build-override]
codegen-units = 1
debug = false
debug-assertions = false
opt-level = 3
overflow-checks = true
[features]
ram_rom = []
flash_rom = []
psram_rom = []