Files
arcs/arcs-sdk/modules/heap/include/idf/esp_attr.h
2026-08-13 16:50:52 +08:00

15 lines
367 B
C

#ifndef __SOC_ATTR_H__
#define __SOC_ATTR_H__
// Forces code into IRAM instead of flash
#define IRAM_ATTR //__attribute__((section(".heap.code")))
// Forces a function to be inlined
#define FORCE_INLINE_ATTR static inline __attribute__((always_inline))
// Forces to not inline function
#define NOINLINE_ATTR __attribute__((noinline))
#endif /* __SOC_ATTR_H__ */