mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 06:40:47 +00:00

* Add the `esp-println` package to the repository * Update esp-println version in README.md Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com> --------- Co-authored-by: Scott Mabin <scott@mabez.dev> Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>
86 lines
3.7 KiB
TOML
86 lines
3.7 KiB
TOML
[package]
|
|
name = "examples"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
aes = "0.8.4"
|
|
cfg-if = "1.0.0"
|
|
critical-section = "1.1.2"
|
|
crypto-bigint = { version = "0.5.5", default-features = false }
|
|
elliptic-curve = { version = "0.13.8", default-features = false, features = ["sec1"] }
|
|
embassy-executor = { version = "0.5.0", features = ["task-arena-size-40960"] }
|
|
embassy-futures = "0.1.1"
|
|
embassy-sync = "0.5.0"
|
|
embassy-time = "0.3.0"
|
|
embassy-time-driver = { version = "0.1.0", optional = true }
|
|
embassy-usb = { version = "0.1.0", default-features = false, optional = true }
|
|
embedded-can = "0.4.1"
|
|
embedded-graphics = "0.8.1"
|
|
embedded-hal = "1.0.0"
|
|
embedded-hal-02 = { version = "0.2.7", package = "embedded-hal", features = ["unproven"] }
|
|
embedded-hal-async = "1.0.0"
|
|
embedded-hal-bus = "0.1.0"
|
|
embedded-io-async = "0.6.1"
|
|
esp-alloc = { version = "0.3.0", path = "../esp-alloc" }
|
|
esp-backtrace = { version = "0.11.1", features = ["exception-handler", "panic-handler", "println"] }
|
|
esp-hal = { version = "0.17.0", path = "../esp-hal", features = ["log"] }
|
|
esp-hal-smartled = { version = "0.10.0", path = "../esp-hal-smartled", optional = true }
|
|
esp-ieee802154 = { version = "0.1.0", path = "../esp-ieee802154", optional = true }
|
|
esp-println = { version = "0.9.1", path = "../esp-println", features = ["log"] }
|
|
fugit = "0.3.7"
|
|
heapless = "0.8.0"
|
|
hex-literal = "0.4.1"
|
|
hmac = { version = "0.12.1", default-features = false }
|
|
ieee802154 = "0.6.1"
|
|
lis3dh-async = "0.9.2"
|
|
log = "0.4.21"
|
|
nb = "1.1.0"
|
|
p192 = { version = "0.13.0", default-features = false, features = ["arithmetic"] }
|
|
p256 = { version = "0.13.2", default-features = false, features = ["arithmetic"] }
|
|
portable-atomic = { version = "1.6.0", default-features = false }
|
|
sha2 = { version = "0.10.8", default-features = false }
|
|
smart-leds = "0.4.0"
|
|
ssd1306 = "0.8.4"
|
|
static_cell = { version = "2.0.0", features = ["nightly"] }
|
|
usb-device = "0.3.2"
|
|
usbd-serial = "0.2.1"
|
|
|
|
[features]
|
|
esp32 = ["esp-hal/esp32", "esp-backtrace/esp32", "esp-println/esp32", "esp-hal-smartled/esp32"]
|
|
esp32c2 = ["esp-hal/esp32c2", "esp-backtrace/esp32c2", "esp-println/esp32c2"]
|
|
esp32c3 = ["esp-hal/esp32c3", "esp-backtrace/esp32c3", "esp-println/esp32c3", "esp-hal-smartled/esp32c3"]
|
|
esp32c6 = ["esp-hal/esp32c6", "esp-backtrace/esp32c6", "esp-println/esp32c6", "esp-hal-smartled/esp32c6", "esp-ieee802154/esp32c6"]
|
|
esp32h2 = ["esp-hal/esp32h2", "esp-backtrace/esp32h2", "esp-println/esp32h2", "esp-hal-smartled/esp32h2", "esp-ieee802154/esp32h2"]
|
|
esp32s2 = ["esp-hal/esp32s2", "esp-backtrace/esp32s2", "esp-println/esp32s2", "esp-hal-smartled/esp32s2"]
|
|
esp32s3 = ["esp-hal/esp32s3", "esp-backtrace/esp32s3", "esp-println/esp32s3", "esp-hal-smartled/esp32s3"]
|
|
|
|
async = ["esp-hal/async", "embassy-usb"]
|
|
|
|
embedded-hal-02 = ["esp-hal/embedded-hal-02"]
|
|
embedded-hal = ["esp-hal/embedded-hal"]
|
|
|
|
embassy = ["esp-hal/embassy"]
|
|
|
|
embassy-time-systick-16mhz = ["esp-hal/embassy-time-systick-16mhz"]
|
|
embassy-time-timg0 = ["esp-hal/embassy-time-timg0"]
|
|
embassy-generic-timers = ["embassy-time/generic-queue-8"]
|
|
|
|
opsram-2m = ["esp-hal/opsram-2m"]
|
|
psram-2m = ["esp-hal/psram-2m"]
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
opt-level = 3
|
|
lto = 'fat'
|
|
overflow-checks = false
|
|
|
|
# TODO: Remove patch once `esp-backtrace` package has been added to repository
|
|
[patch.crates-io]
|
|
esp-println = { version = "0.9.1", path = "../esp-println" }
|