mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-20 16:46:17 +08:00
feat(gcc): update cross toolchain GCC to v8.x
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user