A personal rust firmware for the Badger 2040 W
1[package]
2name = "embassy_rp_w_template"
3version = "0.1.0"
4edition = "2021"
5
6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
8[dependencies]
9embassy-embedded-hal = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
10 "defmt",
11] }
12embassy-sync = { version = "0.6.0", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
13 "defmt",
14] }
15embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
16 "task-arena-size-98304",
17 "arch-cortex-m",
18 "executor-thread",
19 "executor-interrupt",
20 "defmt",
21 "integrated-timers",
22] }
23embassy-time = { version = "0.3.2", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
24 "defmt",
25 "defmt-timestamp-uptime",
26] }
27embassy-rp = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
28 "defmt",
29 "unstable-pac",
30 "time-driver",
31 "critical-section-impl",
32 "rp2040",
33] }
34embassy-usb = { git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
35 "defmt",
36] }
37embassy-net = { version = "0.4.0", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
38 "defmt",
39 "tcp",
40 "udp",
41 "raw",
42 "dhcpv4",
43 "medium-ethernet",
44 "dns",
45] }
46embassy-net-wiznet = { version = "0.1.0", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
47 "defmt",
48] }
49embassy-futures = { version = "0.1.0", git = "https://github.com/embassy-rs/embassy.git" }
50embassy-usb-logger = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy.git" }
51cyw43 = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
52 "defmt",
53 "firmware-logs",
54 "bluetooth",
55] }
56cyw43-pio = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
57 "defmt",
58 "overclock",
59] }
60
61defmt = "0.3"
62defmt-rtt = "0.4"
63fixed = "1.23.1"
64fixed-macro = "1.2"
65
66# for web request example
67reqwless = { version = "0.12.0", features = ["defmt"] }
68serde = { version = "1.0.203", default-features = false, features = ["derive"] }
69serde-json-core = "0.5.1"
70
71assign-resources = { git = "https://github.com/adamgreig/assign-resources", rev = "94ad10e2729afdf0fd5a77cd12e68409a982f58a" }
72
73# for assign resources example
74#cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
75cortex-m = { version = "0.7.6", features = ["inline-asm"] }
76cortex-m-rt = "0.7.0"
77critical-section = "1.1"
78panic-probe = { version = "0.3", features = ["print-defmt"] }
79display-interface-spi = "0.4.1"
80embedded-graphics = "0.8.0"
81st7789 = "0.6.1"
82display-interface = "0.4.1"
83byte-slice-cast = { version = "1.2.0", default-features = false }
84smart-leds = "0.3.0"
85heapless = { version = "0.8", features = ["serde"] }
86usbd-hid = "0.8.1"
87
88embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
89embedded-hal-async = "1.0"
90embedded-hal-bus = { version = "0.1", features = ["async"] }
91embedded-io-async = { version = "0.6.1", features = ["defmt-03"] }
92embedded-storage = { version = "0.3" }
93static_cell = "2"
94portable-atomic = { version = "1.5", features = ["critical-section"] }
95log = "0.4"
96pio-proc = "0.2"
97pio = "0.2.1"
98rand = { version = "0.8.5", default-features = false }
99embedded-sdmmc = "0.7.0"
100bt-hci = { version = "0.1.0", default-features = false, features = ["defmt"] }
101trouble-host = { version = "0.1.0", features = ["defmt", "gatt"] }
102uc8151 = { git = "https://github.com/9names/uc8151-rs.git", features = [
103 "graphics",
104] }
105embedded-text = "0.7.0"
106tinybmp = "0.5.0"
107shtcx = "1.0.0"
108postcard = "1.0.8"
109
110[profile.release]
111debug = 2
112
113[profile.dev]
114debug = 1
115lto = true
116opt-level = "z"
117
118[patch.crates-io]
119trouble-host = { git = "https://github.com/embassy-rs/trouble.git", rev = "4b8c0f499b34e46ca23a56e2d1640ede371722cf" }
120embassy-time = { git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6" }