mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-30 06:59:02 +08:00
Revert "Merge branch 'feature/support_gcc_v8.x' into 'master'"
This reverts merge request !1539
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user