mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-12 16:21:17 +08:00
feat: Add fm25q16a patch
This commit is contained in:
@@ -94,6 +94,15 @@ SECTIONS
|
||||
_iram_end = ABSOLUTE(.);
|
||||
} > iram0_0_seg
|
||||
|
||||
.patch.text :
|
||||
{
|
||||
. = ALIGN (4);
|
||||
_iram_patch_text_start = ABSOLUTE(.);
|
||||
*(.flash.patch.literal .flash.patch.text)
|
||||
_iram_patch_text_end = ABSOLUTE(.);
|
||||
_iram_text_end = ABSOLUTE(.);
|
||||
} > iram0_0_seg
|
||||
|
||||
ASSERT(((_iram_end - ORIGIN(iram0_0_seg)) <= LENGTH(iram0_0_seg)),
|
||||
"IRAM0 segment data does not fit.")
|
||||
|
||||
@@ -155,6 +164,15 @@ SECTIONS
|
||||
_bss_end = ABSOLUTE(.);
|
||||
} > dram0_0_seg
|
||||
|
||||
.patch.bss :
|
||||
{
|
||||
. = ALIGN (4);
|
||||
_iram_patch_bss_start = ABSOLUTE(.);
|
||||
*(.flash.patch.bss)
|
||||
_iram_patch_bss_end = ABSOLUTE(.);
|
||||
*(.flash.patch.rodata)
|
||||
} > dram0_0_seg
|
||||
|
||||
ASSERT(((_bss_end - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)),
|
||||
"DRAM segment data does not fit.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user