From 28bed2c7f10b14cd1b1bc85b17e635a0c2136ff8 Mon Sep 17 00:00:00 2001 From: Deepak Khajuria <9539519+dk307@users.noreply.github.com> Date: Fri, 19 Jan 2024 20:17:45 -0800 Subject: [PATCH] Increase PSRAM speed to 80MHZ --- .vscode/settings.json | 3 ++- main/main.cpp | 2 +- sdkconfig.defaults | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ca055ac..aaf876e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -97,5 +97,6 @@ "scd4x_sensor_device.h": "c" }, "C_Cpp.errorSquiggles": "disabled", - "editor.formatOnSave": true + "editor.formatOnSave": true, + "idf.port": "/dev/ttyACM0" } \ No newline at end of file diff --git a/main/main.cpp b/main/main.cpp index 3411852..b458fc8 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -26,7 +26,7 @@ ESP_EVENT_DEFINE_BASE(APP_COMMON_EVENT); extern "C" void app_main(void) { ESP_LOGI(OPERATIONS_TAG, "Starting ...."); - esp_log_level_set("*", ESP_LOG_INFO); + esp_log_level_set("*", ESP_LOG_WARN); try { diff --git a/sdkconfig.defaults b/sdkconfig.defaults index ce20dba..e40337b 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -867,9 +867,9 @@ CONFIG_SPIRAM_CS_IO=26 # CONFIG_SPIRAM_FETCH_INSTRUCTIONS is not set # CONFIG_SPIRAM_RODATA is not set # CONFIG_SPIRAM_SPEED_120M is not set -# CONFIG_SPIRAM_SPEED_80M is not set -CONFIG_SPIRAM_SPEED_40M=y -CONFIG_SPIRAM_SPEED=40 +CONFIG_SPIRAM_SPEED_80M=y +# CONFIG_SPIRAM_SPEED_40M is not set +CONFIG_SPIRAM_SPEED=80 CONFIG_SPIRAM_BOOT_INIT=y # CONFIG_SPIRAM_USE_MEMMAP is not set CONFIG_SPIRAM_USE_CAPS_ALLOC=y