Fix io16 io17 and PSRAM support (#1564)

* Add PSRAM init and malloc funtions

* Rebuild IDF libs
This commit is contained in:
Me No Dev
2018-06-30 23:06:50 +02:00
committed by GitHub
parent b855eb23a7
commit 184bb069f2
48 changed files with 132 additions and 7 deletions

View File

@ -84,6 +84,9 @@ bool btInUse(){ return false; }
void initArduino()
{
#if CONFIG_SPIRAM_SUPPORT
psramInit();
#endif
esp_log_level_set("*", CONFIG_LOG_DEFAULT_LEVEL);
esp_err_t err = nvs_flash_init();
if(err == ESP_ERR_NVS_NO_FREE_PAGES){