3677 views|3 replies

282

Posts

2

Resources
The OP
 

[ESP32-S2-Kaluga-1 Review] 4. LCD example compilation pitfalls [Copy link]

 This post was last edited by hehung on 2020-8-9 19:56

After finally solving the problem of downloading the program, here is the link: https://bbs.eeworld.com.cn/thread-1135363-1-1.html

I want to try the official examples (

链接已隐藏,如需查看请登录或者注册
), which has an LCD example. According to the previous method, first use the terminal to enter the lcd folder, and then set the environment variables: . /HOME/esp/esp-idf/export.sh

Set the target chip: idf.py set-target esp32s2

Then compile: idf.py build

Then download idf.py -p /dev/ttyUSB1 flash

Then the screen did not display any effect, and I checked the instructions (README.md) under the project folder but could not find the reason.

Finally, there is really no need to think about random configuration.

Use the command: idf.py menuconfig to open the configuration menu--》 There is a problem with the LCD model configuration under Example Configuration, which needs to be modified. Select ILI9341 .

Then press ESC to exit and recompile: idf.py build

After downloading, it may finally be displayed normally, and the display effect is as follows:

This post is from Domestic Chip Exchange

Latest reply

Thanks for sharing   Details Published on 2021-4-9 14:31
 
 

310

Posts

5

Resources
2
 

Well, the default kconfig is written as ST7789, but the one sent is ILI9431, so I have to switch it in menuconfig

This post is from Domestic Chip Exchange
 
 
 

1w

Posts

204

Resources
3
 

ESP32-S2-Kaluga-1 Review Summary
https://bbs.eeworld.com.cn/thread-1134201-1-1.html

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
Personal signature

玩板看这里:

https://bbs.eeworld.com.cn/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 
 

661

Posts

0

Resources
4
 

Thanks for sharing

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list