component/bt : wifi/bt software coexist option

1. option of sw coexist
2. cpu set freq function modify
3. update lib
4. ld add static data address
This commit is contained in:
Tian Hao
2016-11-24 19:57:47 +08:00
parent 7a41ab6982
commit 55e0690f69
9 changed files with 88 additions and 8 deletions

View File

@@ -51,6 +51,7 @@
#include "esp_int_wdt.h"
#include "esp_task_wdt.h"
#include "esp_phy_init.h"
#include "esp_coexist.h"
#include "trax.h"
void start_cpu0(void) __attribute__((weak, alias("start_cpu0_default")));
@@ -194,6 +195,12 @@ void start_cpu0_default(void)
do_phy_init();
#endif
#if CONFIG_SW_COEXIST_ENABLE
if (coexist_init() == ESP_OK) {
coexist_set_enable(true);
}
#endif
xTaskCreatePinnedToCore(&main_task, "main",
ESP_TASK_MAIN_STACK, NULL,
ESP_TASK_MAIN_PRIO, NULL, 0);