-
Notifications
You must be signed in to change notification settings - Fork 544
Closed
Description
Hi, I was trying to use the supposed IRAM_ATTR attribute mentioned in the "2c-esp8266_non_os_sdk" reference manual (p. 158). But after looking everywhere I couldn't find the definition.
My c_types.h file doesn't seem to include it
//NONOS_SDK, c_types.h
#ifdef ICACHE_FLASH
#define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text")))
#define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
#else
#define ICACHE_FLASH_ATTR
#define ICACHE_RODATA_ATTR
#endif /* ICACHE_FLASH */
while the RTOS_SDK does have it defined as:
//RTOS_SDK, c_types.h
#define IRAM_ATTR __attribute__((section(".text")))
Am I missing something here?
Thanks.
A.
Metadata
Metadata
Assignees
Labels
No labels