Skip to content

Commit 184bb06

Browse files
authoredJun 30, 2018
Fix io16 io17 and PSRAM support (#1564)
* Add PSRAM init and malloc funtions * Rebuild IDF libs
1 parent b855eb2 commit 184bb06

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+132
-7
lines changed
 

‎CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set(CORE_SRCS
99
cores/esp32/esp32-hal-ledc.c
1010
cores/esp32/esp32-hal-matrix.c
1111
cores/esp32/esp32-hal-misc.c
12+
cores/esp32/esp32-hal-psram.c
1213
cores/esp32/esp32-hal-sigmadelta.c
1314
cores/esp32/esp32-hal-spi.c
1415
cores/esp32/esp32-hal-time.c

‎cores/esp32/esp32-hal-misc.c

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ bool btInUse(){ return false; }
8484

8585
void initArduino()
8686
{
87+
#if CONFIG_SPIRAM_SUPPORT
88+
psramInit();
89+
#endif
8790
esp_log_level_set("*", CONFIG_LOG_DEFAULT_LEVEL);
8891
esp_err_t err = nvs_flash_init();
8992
if(err == ESP_ERR_NVS_NO_FREE_PAGES){

0 commit comments

Comments
 (0)