Project
When using SNTP in ESP-IDF 5.4, which component names need to be added as dependencies in the CMake file?
Add dependencies based on the header files you use. For SNTP, refer to:
#include "esp_netif_sntp.h"
#include "lwip/ip_addr.h"
#include "esp_sntp.h"
Then add REQUIRES esp_netif lwip to your component CMakeLists.txt. You can locate the owning components by checking where the headers are stored, for example:
components/esp_netif/include/esp_netif_sntp.h
components/lwip/lwip/src/include/lwip/ip_addr.h
components/lwip/include/apps/esp_sntp.h
So the required component names here are esp_netif and lwip. The same method applies to other components as well.
How can I enable the 120 MHz clock for PSRAM and flash in ESP-IDF?
Enable the Make experimental features visible option in menuconfig.

PSRAM is enabled in menuconfig on ESP32-S3, but it is not detected at boot and the system keeps resetting. How should this be configured?
After enabling PSRAM, make sure the PSRAM bus mode is configured correctly.
- If the PSRAM size is greater than
4 MB, select8-linemode. - If the PSRAM size is
4 MBor smaller, select4-linemode.
If the bus mode is configured incorrectly, PSRAM may not be detected correctly during boot, which can lead to continuous reset loops.