ESP32-IDF configuration tool

1、Introduction to ESP32-IDF configuration tool

In the root directory of the ESP32-IDF project, there is an sdkconfig file, which is used to store the configuration content of ESP32-IDF.

 

2、Activate the ESP-IDF development environment

Run the following command in the esp-idf tool directory

Note: Every time you open a new terminal, you need to activate the ESP-IDF development environment before you can compile the ESP-IDF project.

 

3、New Construction

Create a new blank project to use as a basic project.

 

4、Configuration project

Set the target chip to esp32s3 chip and open the configuration interface.

image-20240108180425720

  1. Configure to automatically detect the flash size during burning.

In the Serial flasher config, change the Flash size to 4MB and check Detect flash size when flashing bootloader.

image-20240108180531325

  1. Configure external PSRAM

Open Component config->ESP PSRAM and enable Support for external, SPI-connected RAM.

image-20240108181431852

Just keep the default in the SPI RAM config configuration as shown in the figure below.image-20240108181813163

  1. Configure the CPU frequency to 240MHz

Open Component config->ESP System Settings->CPU frequency and change the CPU frequency to 240MHz.

image-20240108181942412

4.Configure the frequency of freertos to 1000hz

Open Component config->FreeRTOS->Kernel, find configTICK_RATE_HZ, and change the value to 1000.

image-20240108182159576

5.Configure partition table to increase program space

Open Partition Table->Partition Table, select Single factory app (large), no OTA.

image-20240108183010970