Cargo Features
[dependencies]
esp32s2-hal = { version = "0.15.1", default-features = false, features = ["async", "debug", "defmt", "eh1", "embedded-io", "log", "rt", "ufmt", "vectored", "embassy", "embassy-executor-interrupt", "embassy-executor-thread", "embassy-integrated-timers", "embassy-time-systick", "embassy-time-timg0", "psram", "psram-2m", "psram-4m", "psram-8m"] }
- default = embassy-integrated-timers, rt, vectored
-
These default features are set whenever
esp32s2-hal
is added without
somewhere in the dependency tree.default-features = false - async
-
Enables async of esp-hal-common
esp-hal-common:
Support for asynchronous operation, implementing traits from
embedded-hal-async
andembedded-io-async
- debug
-
Enables debug of esp-hal-common
esp-hal-common:
Enable the
impl-register-debug
feature for the selected PAC - defmt
-
Enables defmt-espflash of esp-println and defmt of esp-hal-common
esp-hal-common:
Enable support for
defmt
, foresp-hal-common
and also for all our dependencies - eh1
-
Enables eh1 of esp-hal-common
esp-hal-common:
Trait implementation features:
- Implement the
embedded-hal@1.0.0-rc.x
traits (and friends) - Implement the
embedded-io
traits where able - Implement the
ufmt_write::Write
trait where able
- Implement the
- embedded-io
-
Enables embedded-io of esp-hal-common
- log
-
Enables log of esp-hal-common and esp-println
esp-hal-common:
Enable logging
- rt default
-
Enables rt-xtensa of esp-hal-common
- ufmt
-
Enables ufmt of esp-hal-common
- vectored default
-
Enables vectored of esp-hal-common
- embassy
-
Embassy support
Enables embassy of esp-hal-common
- embassy-executor-interrupt
-
Enables embassy-executor-interrupt of esp-hal-common
- embassy-executor-thread
-
Enables embassy-executor-thread of esp-hal-common
- embassy-integrated-timers default
-
Enables embassy-integrated-timers of esp-hal-common
- embassy-time-systick
-
Enables embassy-time-systick of esp-hal-common and tick-hz-80_000_000 of embassy-time
embassy-time:
80.0MHz Tick Rate
- embassy-time-timg0
-
Enables embassy-time-timg0 of esp-hal-common and tick-hz-1_000_000 of embassy-time
embassy-time:
1.0MHz Tick Rate
- psram psram-2m? psram-4m? psram-8m?
-
PSRAM support
- psram-2m = psram
-
Enables psram-2m of esp-hal-common
esp-hal-common:
PSRAM support
- psram-4m = psram
-
Enables psram-4m of esp-hal-common
- psram-8m = psram
-
Enables psram-8m of esp-hal-common