feat(gcc): update cross toolchain GCC to v8.x

This commit is contained in:
donghengqaz
2020-02-12 10:22:49 +08:00
committed by Dong Heng
parent c67cc06436
commit fd54106a97
155 changed files with 308 additions and 15402 deletions

View File

@ -27,30 +27,6 @@ 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 := 1.22.0-100-ge567ec7
SUPPORTED_TOOLCHAIN_GCC_VERSIONS := 5.2.0
SUPPORTED_TOOLCHAIN_COMMIT_DESC := esp-2020r3-49-gd5524c1
SUPPORTED_TOOLCHAIN_GCC_VERSIONS := 8.4.0
ifdef CONFIG_ESP8266_LEGACY

View File

@ -35,9 +35,7 @@
#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);
@ -85,9 +83,7 @@ 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);
@ -167,9 +163,7 @@ 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);