mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 01:27:11 +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
|
#define ICACHE_RODATA_ATTR
|
||||||
|
|
||||||
// Forces code into IRAM instead of flash.
|
// 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
|
// 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
|
// Forces data to be 4 bytes aligned
|
||||||
#define WORD_ALIGNED_ATTR __attribute__((aligned(4)))
|
#define WORD_ALIGNED_ATTR __attribute__((aligned(4)))
|
||||||
|
@ -93,6 +93,7 @@ SECTIONS
|
|||||||
*(.entry.text)
|
*(.entry.text)
|
||||||
*(.init.literal)
|
*(.init.literal)
|
||||||
*(.init)
|
*(.init)
|
||||||
|
*(.iram1 .iram1.*)
|
||||||
*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)
|
*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)
|
||||||
*(.literal .text .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
|
*(.literal .text .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
|
||||||
*(.fini.literal)
|
*(.fini.literal)
|
||||||
@ -107,6 +108,7 @@ SECTIONS
|
|||||||
_data_start = ABSOLUTE(.);
|
_data_start = ABSOLUTE(.);
|
||||||
*(.data)
|
*(.data)
|
||||||
*(.data.*)
|
*(.data.*)
|
||||||
|
*(.dram0)
|
||||||
*(.gnu.linkonce.d.*)
|
*(.gnu.linkonce.d.*)
|
||||||
*(.data1)
|
*(.data1)
|
||||||
*(.sdata)
|
*(.sdata)
|
||||||
|
Reference in New Issue
Block a user