feat(esp8266): Add new "ets_vprintf" to save stack

It is better for interrupt and NMI functions to output information.
This commit is contained in:
Dong Heng
2018-11-22 15:39:00 +08:00
parent cb13d7c31f
commit 1f56d9a6aa
3 changed files with 255 additions and 5 deletions

View File

@ -129,6 +129,10 @@ SECTIONS
*libfreertos.a:freertos_hooks.o(.bss .data .bss.* .data.* COMMON)
#endif
#ifdef CONFIG_LINK_ETS_PRINTF_TO_IRAM
*libesp8266.a:ets_printf.o(.literal .text .literal.* .text.* .rodata.* .rodata)
#endif
_text_end = ABSOLUTE(.);
_etext = .;
} >iram1_0_seg :iram1_0_phdr