mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Move continuation stack from .bss onto sys stack (#4622)
This commit is contained in:
@ -80,7 +80,8 @@ env.Append(
|
||||
],
|
||||
LINKFLAGS=[
|
||||
"-Wl,-wrap,system_restart_local",
|
||||
"-Wl,-wrap,spi_flash_read"
|
||||
"-Wl,-wrap,spi_flash_read",
|
||||
"-u,app_entry"
|
||||
]
|
||||
)
|
||||
|
||||
|
@ -215,6 +215,7 @@ int ets_vprintf(int (*print_function)(int), const char * format, va_list arg) __
|
||||
int ets_putc(int);
|
||||
bool ets_task(ETSTask task, uint8 prio, ETSEvent *queue, uint8 qlen);
|
||||
bool ets_post(uint8 prio, ETSSignal sig, ETSParam par);
|
||||
void ets_update_cpu_frequency(uint32_t ticks_per_us);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -9,7 +9,7 @@ PHDRS
|
||||
irom0_0_phdr PT_LOAD;
|
||||
}
|
||||
/* Default entry point: */
|
||||
ENTRY(call_user_start)
|
||||
ENTRY(app_entry)
|
||||
EXTERN(_DebugExceptionVector)
|
||||
EXTERN(_DoubleExceptionVector)
|
||||
EXTERN(_KernelExceptionVector)
|
||||
@ -75,6 +75,10 @@ SECTIONS
|
||||
_Pri_3_HandlerAddress = ABSOLUTE(.);
|
||||
_data_end = ABSOLUTE(.);
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
.noinit : ALIGN(4)
|
||||
{
|
||||
*(.noinit)
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
.irom0.text : ALIGN(4)
|
||||
{
|
||||
_irom0_text_start = ABSOLUTE(.);
|
||||
|
@ -12,7 +12,7 @@ PHDRS
|
||||
|
||||
|
||||
/* Default entry point: */
|
||||
ENTRY(call_user_start)
|
||||
ENTRY(app_entry)
|
||||
EXTERN(_DebugExceptionVector)
|
||||
EXTERN(_DoubleExceptionVector)
|
||||
EXTERN(_KernelExceptionVector)
|
||||
@ -83,6 +83,11 @@ SECTIONS
|
||||
_Pri_3_HandlerAddress = ABSOLUTE(.);
|
||||
_data_end = ABSOLUTE(.);
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
|
||||
.noinit : ALIGN(4)
|
||||
{
|
||||
*(.noinit)
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
|
||||
#ifdef VTABLES_IN_DRAM
|
||||
#include "eagle.app.v6.common.ld.vtables.h"
|
||||
|
Reference in New Issue
Block a user