A personal rust firmware for the Badger 2040 W
at 11bdddf5f4fbe65726a3f7807bb8681f2ea0e3ca 115 lines 4.2 kB view raw
1[package] 2name = "rusty_badger" 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] } 59 60defmt = "0.3" 61defmt-rtt = "0.4" 62fixed = "1.23.1" 63fixed-macro = "1.2" 64 65# for web request example 66reqwless = { version = "0.12.0", features = ["defmt"] } 67serde = { version = "1.0.203", default-features = false, features = ["derive"] } 68serde-json-core = "0.5.1" 69 70assign-resources = { git = "https://github.com/adamgreig/assign-resources", rev = "94ad10e2729afdf0fd5a77cd12e68409a982f58a" } 71 72# for assign resources example 73#cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } 74cortex-m = { version = "0.7.6", features = ["inline-asm"] } 75cortex-m-rt = "0.7.0" 76critical-section = "1.1" 77panic-probe = { version = "0.3", features = ["print-defmt"] } 78display-interface-spi = "0.4.1" 79embedded-graphics = "0.8.0" 80byte-slice-cast = { version = "1.2.0", default-features = false } 81smart-leds = "0.3.0" 82heapless = { version = "0.8", features = ["serde"] } 83usbd-hid = "0.8.1" 84 85embedded-hal-1 = { package = "embedded-hal", version = "1.0" } 86embedded-hal-async = "1.0" 87embedded-hal-bus = { version = "0.1", features = ["async"] } 88embedded-io-async = { version = "0.6.1", features = ["defmt-03"] } 89embedded-storage = { version = "0.3" } 90static_cell = "2" 91portable-atomic = { version = "1.5", features = ["critical-section"] } 92log = "0.4" 93pio-proc = "0.2" 94pio = "0.2.1" 95rand = { version = "0.8.5", default-features = false } 96embedded-sdmmc = "0.7.0" 97uc8151 = { git = "https://github.com/9names/uc8151-rs.git", features = [ 98 "graphics", 99] } 100embedded-text = "0.7.0" 101tinybmp = "0.5.0" 102shtcx = "1.0.0" 103postcard = "1.0.8" 104 105[profile.release] 106debug = 2 107 108[profile.dev] 109debug = 1 110lto = true 111opt-level = "z" 112 113[patch.crates-io] 114trouble-host = { git = "https://github.com/embassy-rs/trouble.git", rev = "4b8c0f499b34e46ca23a56e2d1640ede371722cf" } 115embassy-time = { git = "https://github.com/embassy-rs/embassy.git", rev = "f0a86070512ad739641cee7d9fa39d63f5c8a9f6" }