1
0
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:
Ivan Grokhotkov
2018-04-18 11:19:49 +08:00
committed by GitHub
parent 16a4f22194
commit 5d5ea92a4d
9 changed files with 70 additions and 69 deletions

View File

@ -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

View File

@ -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(.);

View File

@ -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"