Merge branch 'bugfix/fix_warning_in_freertos_port' into 'master'

fix(esp8266): Fix warning in port.c by using different section name

See merge request sdk/ESP8266_RTOS_SDK!206
This commit is contained in:
Wu Jian Gang
2018-05-31 17:35:46 +08:00
2 changed files with 4 additions and 2 deletions

View File

@ -26,10 +26,10 @@
#define ICACHE_RODATA_ATTR
// Forces code into IRAM instead of flash.
#define IRAM_ATTR __attribute__((section(".text")))
#define IRAM_ATTR __attribute__((section(".iram1")))
// Forces data into DRAM instead of flash
#define DRAM_ATTR __attribute__((section(".data")))
#define DRAM_ATTR __attribute__((section(".dram0")))
// Forces data to be 4 bytes aligned
#define WORD_ALIGNED_ATTR __attribute__((aligned(4)))