8a9136e4e4
inline assembly is supported since rust 1.59, we're way past that. enabling this makes the compiled code more compact, and on rp2040 even decreses memory usage by not needing thunks in sram.
45 lines
2.0 KiB
TOML
45 lines
2.0 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-rp-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
|
[dependencies]
|
|
embassy-embedded-hal = { version = "0.1.0", path = "../../embassy-embedded-hal", features = ["defmt"] }
|
|
embassy-sync = { version = "0.2.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] }
|
|
embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "pio", "critical-section-impl"] }
|
|
embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] }
|
|
embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet"] }
|
|
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
|
embassy-usb-logger = { version = "0.1.0", path = "../../embassy-usb-logger" }
|
|
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
|
|
#cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm"] }
|
|
cortex-m-rt = "0.7.0"
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }
|
|
display-interface-spi = "0.4.1"
|
|
embedded-graphics = "0.7.1"
|
|
st7789 = "0.6.1"
|
|
display-interface = "0.4.1"
|
|
byte-slice-cast = { version = "1.2.0", default-features = false }
|
|
smart-leds = "0.3.0"
|
|
|
|
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.10" }
|
|
embedded-hal-async = "0.2.0-alpha.1"
|
|
embedded-io = { version = "0.4.0", features = ["async", "defmt"] }
|
|
embedded-storage = { version = "0.3" }
|
|
static_cell = "1.0.0"
|
|
log = "0.4"
|
|
pio-proc = "0.2"
|
|
pio = "0.2.1"
|
|
|
|
[profile.release]
|
|
debug = true
|