mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 09:37:00 +08:00
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:
@ -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)))
|
||||
|
Reference in New Issue
Block a user