Statistics: Posted by Guest — Sat Jul 09, 2016 10:16 pm
Code:
#define ICACHE_FLASH_ATTR
Code:
#define __packed __attribute__((packed))
#define STORE_ATTR __attribute__((aligned(4)))
#define SHMEM_ATTR
#define ICACHE_FLASH_ATTR
#define DMEM_ATTR __attribute__((section(".bss")))
#define IRAM_ATTR __attribute__((section(".text")))
#define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
Statistics: Posted by Guest — Sat Jul 09, 2016 10:09 pm
Code:
#define ICACHE_FLASH_ATTR
Code:
#define __packed __attribute__((packed))
#define STORE_ATTR __attribute__((aligned(4)))
#define SHMEM_ATTR
#define ICACHE_FLASH_ATTR
#define DMEM_ATTR __attribute__((section(".bss")))
#define IRAM_ATTR __attribute__((section(".text")))
#define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
Statistics: Posted by NiclasH — Thu May 26, 2016 6:22 pm
Statistics: Posted by electronicsguy — Mon Apr 25, 2016 3:31 am
Statistics: Posted by eriksl — Tue Feb 09, 2016 4:33 pm
Statistics: Posted by philip — Tue Feb 09, 2016 11:28 am
Statistics: Posted by eriksl — Fri Dec 11, 2015 3:22 am
Statistics: Posted by mariuszb — Thu Dec 10, 2015 9:49 pm
Statistics: Posted by dkinzer — Sat Oct 03, 2015 5:54 am
Code:
#define IRAM0 __attribute__((section(".iram0.text")))
void IRAM0 myISR(void)
{
}
Code:
objcopy --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal myObjectFile.o
Code:
#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 */
Code:
.irom0.text : ALIGN(4)
{
_irom0_text_start = ABSOLUTE(.);
*core_esp8266_*.o(.literal*, .text*)
*spiffs*.o(.literal*, .text*)
*.cpp.o(.literal*, .text*)
*libm.a:(.literal .text .literal.* .text.*)
*libsmartconfig.a:(.literal .text .literal.* .text.*)
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text)
_irom0_text_end = ABSOLUTE(.);
_flash_code_end = ABSOLUTE(.);
} >irom0_0_seg :irom0_0_phdr
Statistics: Posted by dkinzer — Fri Oct 02, 2015 10:41 pm
Statistics: Posted by eriksl — Fri Oct 02, 2015 8:54 pm
Statistics: Posted by kolban — Fri Oct 02, 2015 8:38 pm
Statistics: Posted by eriksl — Fri Oct 02, 2015 5:55 pm
Statistics: Posted by geo.espressif — Fri Oct 02, 2015 5:41 pm