Attribute Macro esp32c3_hal::prelude::ram

[]
#[ram]
Expand description

This attribute allows placing statics and functions into ram.

Options that can be specified are rtc_slow or rtc_fast to use the RTC slow or RTC fast ram instead of the normal SRAM.

The uninitialized option will skip initialization of the memory (e.g. to persist it across resets or deep sleep mode for the RTC RAM)

Not all targets support RTC slow ram.