- Internet of Things Projects with ESP32
- Agus Kurniawan
- 298字
- 2021-06-24 16:02:55
Configuring the ESP-WROVER-KIT v4 board
Before we compile and flash our program to the ESP32 board, we should configure our project. In this section, the ESP32 board model is ESP-WROVER-KIT v4. We configure the LCD model and flash size using menuconfig. To do so, follow these steps:
- Open the Terminal and navigate to your project folder.
- Run menuconfig by typing the following command:
$ make menuconfig
- You will get a form as shown in Figure 2-9. Select TFT Display DEMO Configuration from this form:

Figure 2-9: Configuring the TFT Display demo
- You will get a form as shown in Figure 2-10. You can select Select predefined display configuration:

Figure 2-10: Selecting the predefined display configuration
- You will see a list of TFT modules as shown in Figure 2-11.
- Since we are using ESP-WROVER-KIT v4, we will select the ESP-WROVER-KIT Display option.
- You can select this option by pressing the Tab key on your keyboard:

Figure 2-11: Selecting ESP-WROVER-KIT Display
- Next, we configure the flash size. Navigate back to the main menu as shown in figure 2-9.
- Select the Serial flasher config menu.
- Then, select the Flash size option.
- After this is selected, you will see a list of flash sizes, as shown in Figure 2-12:

Figure 2-12: Selecting 4MB for flash size
- Select 4 MB for flash size.
- Save this configuration.
- Select Exit to quit menuconfig.
After we run menuconfig, we will get a config file, sdkconfig, as shown in Figure 2-13. Open this file and ensure that this config has a value of CONFIG_SPIFFS_BASE_ADDR= 0x180000. If you have a value 180000 on that config, you should change it to 0x180000:

Figure 2-13: Editing the sdkconfig file
Now, your program is ready to compile and run in the next section.
推薦閱讀
- 零點(diǎn)起飛學(xué)Xilinx FPG
- 電腦維護(hù)與故障排除傻瓜書(shū)(Windows 10適用)
- Applied Unsupervised Learning with R
- 基于Proteus和Keil的C51程序設(shè)計(jì)項(xiàng)目教程(第2版):理論、仿真、實(shí)踐相融合
- Camtasia Studio 8:Advanced Editing and Publishing Techniques
- 計(jì)算機(jī)維修與維護(hù)技術(shù)速成
- 計(jì)算機(jī)組裝與維修技術(shù)
- OpenGL Game Development By Example
- 基于Proteus仿真的51單片機(jī)應(yīng)用
- 基于PROTEUS的電路設(shè)計(jì)、仿真與制板
- “硬”核:硬件產(chǎn)品成功密碼
- Java Deep Learning Cookbook
- FreeSWITCH Cookbook
- USB應(yīng)用分析精粹:從設(shè)備硬件、固件到主機(jī)端程序設(shè)計(jì)
- The Deep Learning with PyTorch Workshop