feat(heap): Add new heap component

This commit is contained in:
Dong Heng
2018-09-10 13:34:07 +08:00
parent 0982011e37
commit 260da4a6f3
11 changed files with 1041 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#include "esp_image_format.h"
#include "esp_phy_init.h"
#include "esp_wifi_osi.h"
#include "esp_heap_caps_init.h"
#include "internal/esp_wifi_internal.h"
#define FLASH_MAP_ADDR 0x40200000
@ -109,6 +110,8 @@ void call_user_start(size_t start_addr)
"movi a2, 0xffffff00\n"
"and a1, a1, a2\n");
heap_caps_init();
wifi_os_init();
assert(wifi_task_create(user_init_entry, "uiT", 2048, NULL, wifi_task_get_max_priority()) != NULL);