Cargo Features
esp-hal-procmacros has no features set by default.
[dependencies]
esp-hal-procmacros = { version = "0.16.0", features = ["embassy", "rtc-slow", "has-lp-core", "has-ulp-core", "is-lp-core", "is-ulp-core"] }
- embassy
-
Provide a
#[main]
procmacro to mark the entry point for Embassy applications.Affects
esp-hal-procmacros::embassy_main
… - rtc-slow
-
Indicates the target device has RTC slow memory available.
- has-lp-core
-
Low-power Core Feature Flags
Indicate that the SoC contains an LP core.
Enables object
Affects
esp-hal-procmacros::load_lp_code
,lp_core::load_lp_code
… - has-ulp-core
-
Indicate that the SoC contains a ULP core.
Enables object
Affects
esp-hal-procmacros::load_lp_code
,lp_core::load_lp_code
… - is-lp-core
-
Provide an
#[entry]
macro for running applications on the ESP32-C6's LP core.Affects
esp-hal-procmacros::entry
,lp_core::entry
… - is-ulp-core
-
Provide an
#[entry]
macro for running applications on the ESP32-S2/S3's ULP core.Affects
esp-hal-procmacros::entry
,lp_core::entry
…