PSRAM Initialization Failure
c
quad_psram: PSRAM ID read error: 0x00ffffff,
PSRAM chip not found or not supported, or wrong PSRAM line mode1
2
2
Solution: The main chip is the ESP32-S3R8, which uses 8-line PSRAM.
Open the project configuration interface and set the PSRAM mode to Octal mode.
Unable to compile after moving files
Modify the path in settings.json to match the path of a project that compiled successfully.
Header files show red warnings but compilation succeeds — how do I remove the red warnings?
Open the ESP-IDF extension settings.
In the input bar at the top, enter the following:
c
@ext:espressif.esp-idf-extension path1
Find Esp Adf Path and Esp Idf Path Win. Change the value of Esp Adf Path to match the value of Esp Idf Path Win.
Disabling the Watchdog
The code you wrote frequently triggers the watchdog.
Use the following code to disable it.
c
#include "esp_task_wdt.h"
...
int app_main(void)
{
// Disable the watchdog
esp_task_wdt_deinit();
...
}1
2
3
4
5
6
7
8
2
3
4
5
6
7
8