A personal rust firmware for the Badger 2040 W
1[package]
2name = "rusty_badger"
3version = "0.1.0"
4edition = "2024"
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.5.0", features = [
10 "defmt",
11] }
12embassy-sync = { version = "0.7.2", features = [
13 "defmt",
14] }
15embassy-executor = { version = "0.9.1", features = [
16 "arch-cortex-m",
17 "executor-thread",
18 "executor-interrupt",
19 "defmt",
20] }
21embassy-time = { version = "0.5.0", features = [
22 "defmt",
23 "defmt-timestamp-uptime",
24] }
25embassy-rp = { version = "0.8.0", features = [
26 "defmt",
27 "unstable-pac",
28 "time-driver",
29 "critical-section-impl",
30 "rp2040",
31] }
32#embassy-usb = { git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6", features = [
33# "defmt",
34#] }
35embassy-net = { version = "0.7.1", features = [
36 "defmt",
37 "tcp",
38 "udp",
39 "raw",
40 "dhcpv4",
41 "medium-ethernet",
42 "dns",
43] }
44embassy-net-wiznet = { version = "0.2.1", features = [
45 "defmt",
46] }
47#embassy-futures = { version = "0.1.0", git = "https://github.com/embassy-rs/embassy.git" }
48#embassy-usb-logger = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy.git" }
49cyw43 = { version = "0.5.0", features = [
50 # "defmt",
51 # "firmware-logs",
52 # "bluetooth",
53] }
54cyw43-pio = { version = "0.8.0", features = [
55 "defmt",
56] }
57
58defmt = "0.3"
59defmt-rtt = "0.4"
60fixed = "1.23.1"
61fixed-macro = "1.2"
62
63# for web request example
64reqwless = { version = "0.13.0", features = ["defmt"] }
65serde = { version = "1.0.203", default-features = false, features = ["derive"] }
66serde-json-core = "0.5.1"
67
68assign-resources = { git = "https://github.com/adamgreig/assign-resources", rev = "94ad10e2729afdf0fd5a77cd12e68409a982f58a" }
69
70# for assign resources example
71#cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
72cortex-m = { version = "0.7.6", features = ["inline-asm"] }
73cortex-m-rt = "0.7.5"
74critical-section = "1.1"
75panic-probe = { version = "1.0.0", features = ["print-defmt"] }
76
77embedded-graphics = "0.8.1"
78byte-slice-cast = { version = "1.2.0", default-features = false }
79
80heapless = { version = "0.8", features = ["serde"] }
81
82
83embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
84embedded-hal-async = "1.0"
85embedded-hal-bus = { version = "0.1", features = ["async"] }
86embedded-io-async = { version = "0.6.1", features = ["defmt-03"] }
87embedded-storage = { version = "0.3" }
88static_cell = "2"
89portable-atomic = { version = "1.5", features = ["critical-section"] }
90log = "0.4"
91pio-proc = "0.2"
92pio = "0.2.1"
93rand = { version = "0.8.5", default-features = false }
94embedded-sdmmc = "0.7.0"
95uc8151 = { git = "https://github.com/9names/uc8151-rs.git", features = [
96 "graphics",
97] }
98embedded-text = "0.7.0"
99tinybmp = "0.5.0"
100shtcx = "1.0.0"
101postcard = "1.0.8"
102time = { version = "0.3.17", default-features = false }
103#pcf85063a = "0.1.1"
104
105[profile.release]
106debug = 2
107
108[profile.dev]
109debug = 2
110lto = true
111opt-level = "z"
112
113