mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Fix placement of code into RAM, enable gc-sections
Related to #856, #826, #803, #734
This commit is contained in:
@ -67,7 +67,7 @@ typedef enum {
|
||||
|
||||
#ifdef ICACHE_FLASH
|
||||
#define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text")))
|
||||
#define ICACHE_RAM_ATTR __attribute__((section(".text")))
|
||||
#define ICACHE_RAM_ATTR __attribute__((section(".iram.text")))
|
||||
#define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
|
||||
#else
|
||||
#define ICACHE_FLASH_ATTR
|
||||
|
Reference in New Issue
Block a user