Cargo Features

esp-hal-procmacros has no features set by default.

[dependencies]
esp-hal-procmacros = { version = "0.14.0", features = ["embassy", "enum-dispatch", "interrupt", "ram", "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::main

enum-dispatch

Provide enum dispatch helpers.

interrupt

Provide an #[interrupt] procmacro for defining interrupt service routines.

Affects esp-hal-procmacros::handler

ram

Provide a #[ram] procmacro to place functions in RAM instead of flash.

Affects esp-hal-procmacros::ram

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