Revert "Merge branch 'feature/support_gcc_v8.x' into 'master'"

This reverts merge request !1539
This commit is contained in:
Dong Heng
2020-09-29 17:25:55 +08:00
parent 70b26d8a2d
commit ed68a21f62
155 changed files with 15402 additions and 308 deletions

View File

@@ -27,6 +27,30 @@ config ESP8266_DEFAULT_CPU_FREQ_MHZ
default 80 if ESP8266_DEFAULT_CPU_FREQ_80
default 160 if ESP8266_DEFAULT_CPU_FREQ_160
choice NEWLIB_STDOUT_LINE_ENDING
prompt "Line ending for UART output"
default NEWLIB_STDOUT_LINE_ENDING_CRLF
help
This option allows configuring the desired line endings sent to UART
when a newline ('\n', LF) appears on stdout.
Three options are possible:
CRLF: whenever LF is encountered, prepend it with CR
LF: no modification is applied, stdout is sent as is
CR: each occurence of LF is replaced with CR
This option doesn't affect behavior of the UART driver (drivers/uart.h).
config NEWLIB_STDOUT_LINE_ENDING_CRLF
bool "CRLF"
config NEWLIB_STDOUT_LINE_ENDING_LF
bool "LF"
config NEWLIB_STDOUT_LINE_ENDING_CR
bool "CR"
endchoice
choice ESP_FILENAME_MACRO
prompt "File name macro text"
default ESP_FILENAME_MACRO_NO_PATH

View File

@@ -1,5 +1,5 @@
SUPPORTED_TOOLCHAIN_COMMIT_DESC := esp-2020r3-49-gd5524c1
SUPPORTED_TOOLCHAIN_GCC_VERSIONS := 8.4.0
SUPPORTED_TOOLCHAIN_COMMIT_DESC := 1.22.0-100-ge567ec7
SUPPORTED_TOOLCHAIN_GCC_VERSIONS := 5.2.0
ifdef CONFIG_ESP8266_LEGACY

View File

@@ -35,7 +35,9 @@
#include "task.h"
#include "esp_task.h"
#ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER
#include "esp_newlib.h"
#endif
extern esp_err_t esp_pthread_init(void);
extern void chip_boot(void);
@@ -83,7 +85,9 @@ static void user_init_entry(void *param)
esp_task_wdt_init();
#endif
#ifdef CONFIG_ENABLE_PTHREAD
assert(esp_pthread_init() == 0);
#endif
#ifdef CONFIG_BOOTLOADER_FAST_BOOT
REG_CLR_BIT(DPORT_CTL_REG, DPORT_CTL_DOUBLE_CLK);
@@ -163,7 +167,9 @@ void call_start_cpu(size_t start_addr)
assert(__esp_os_init() == 0);
#endif
#ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER
esp_newlib_init();
#endif
assert(xTaskCreate(user_init_entry, "uiT", ESP_TASK_MAIN_STACK, NULL, ESP_TASK_MAIN_PRIO, NULL) == pdPASS);