-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (31 loc) · 1.18 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
[package]
name = "ghostwriter"
edition = "2021"
version = "0.0.0"
[dependencies]
rp2040-boot2 = { version = "0.3.0", optional = true }
rp2040-hal = { version = "0.10.0", features = [ "defmt" ] }
cortex-m = "0.7.7"
cortex-m-rt = { version = "0.7.3", optional = true }
embedded-hal = "1.0.0"
panic-halt= "0.2.0"
critical-section = "1.1.2"
pimoroni-tiny2040 = "0.7.0"
usbd-hid = "0.7.0"
usb-device = "0.3.1"
futures = { version = "0.3", default-features = false, features = [ "async-await" ] }
libm = "0.2.8"
rand = { version = "0.8.5", default-features = false }
rand_distr = { version = "0.4.3", default-features = false }
# Features adapted from rp-hal-boards/pimoroni-tiny2040
[features]
# This is the set of features we enable by default
default = ["boot2", "rt", "critical-section-impl", "rom-func-cache"]
# critical section that is safe for multicore use
critical-section-impl = ["rp2040-hal/critical-section-impl"]
# 2nd stage bootloaders for rp2040
boot2 = ["rp2040-boot2"]
# Minimal startup / runtime for Cortex-M microcontrollers
rt = ["cortex-m-rt","rp2040-hal/rt"]
# Memoize(cache) ROM function pointers on first use to improve performance
rom-func-cache = ["rp2040-hal/rom-func-cache"]