-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
74 lines (58 loc) · 2.47 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
[package]
name = "sunset-demo-embassy-picow"
version = "0.1.0"
edition = "2021"
[dependencies]
sunset-embassy = { path = "../../" }
sunset = { path = "../../.." }
sunset-sshwire-derive = { path = "../../../sshwire-derive" }
sunset-demo-embassy-common= { path = "../common" }
cyw43 = { version = "0.1.0", optional = true, features = ["log", "firmware-logs"]}
cyw43-pio = { version = "0.1.0", optional = true }
embassy-net-wiznet = { version = "0.1.0", optional = true }
embassy-executor = { version = "0.5", features = [
"integrated-timers", "executor-thread", "arch-cortex-m", "log",
# This is sufficient for NUM_LISTENERS=4. It seems like it should fit in 96kB,
# but has failures.
"task-arena-size-131072"] }
embassy-time = { version = "0.3", features = [] }
embassy-rp = { version = "0.1", features = ["unstable-pac", "time-driver"] }
embassy-net = { version = "0.5", features = ["tcp", "dhcpv4", "medium-ethernet", "log"] }
embassy-net-driver = { version = "0.2" }
embassy-usb-driver = { version = "0.1" }
embassy-sync = { version = "0.5" }
embassy-futures = { version = "0.1" }
embassy-usb = { version = "0.1", features = ["log"] }
atomic-polyfill = "1.0"
static_cell = { version = "1.0", features = [ "nightly" ] }
log = { version = "0.4" }
rtt-target = "0.3"
rtt-logger = "0.2"
pretty-hex = { version = "0.4", default-features = false }
snafu = { version = "0.8", default-features = false, features = ["rust_1_65"] }
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"]}
cortex-m-rt = "0.7.0"
embedded-hal = "1.0"
embedded-hal-async = "1.0"
embedded-hal-bus = { version = "0.1.0-rc.1", features = ["async"], optional = true }
embedded-io-async = "0.6"
embedded-storage-async = "0.4"
heapless = "0.8"
caprand = "0.1"
getrandom = { version = "0.2", features = ["custom"] }
critical-section = "1.1"
rand = { version = "0.8", default-features = false, features = ["getrandom"] }
sha2 = { version = "0.10", default-features = false }
usbd-hid = "0.6"
[features]
default = ["cyw43"]
# for pico w board
cyw43 = ["dep:cyw43", "dep:cyw43-pio"]
# for wiznet w5500-evb-pico board
w5500 = ["dep:embassy-net-wiznet", "dep:embedded-hal-bus"]
# Use cyw43 firmware already on flash. This saves time when developing.
# probe-rs download firmware/43439A0.bin --binary-format bin --chip RP2040 --base-address 0x10100000
# probe-rs download firmware/43439A0_clm.bin --binary-format bin --chip RP2040 --base-address 0x10140000
romfw = []
# Set default console to serial
serial1 = []