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

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