Skip to content

Commit 7f8d7e7

Browse files
committed
The display support was updated and some DSI displays were tested
1 parent 79b3d1b commit 7f8d7e7

File tree

11 files changed

+608
-118
lines changed

11 files changed

+608
-118
lines changed

bsp/esp32_p4_nano/Kconfig

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,46 @@ menu "Board Support Package(ESP32-P4)"
123123

124124
choice BSP_LCD_TYPE
125125
prompt "Select LCD type"
126-
default BSP_LCD_TYPE_1280_800_WAVESHARE_10_1
126+
default BSP_LCD_TYPE_800_1280_10_1_INCH
127127
help
128128
Select the LCD.
129129

130-
config BSP_LCD_TYPE_1024_600
131-
bool "LCD 7-inch 1024x600 - ek79007"
132-
config BSP_LCD_TYPE_1280_800
133-
bool "LCD 1280x800 - ili9881c"
134-
config BSP_LCD_TYPE_1280_800_WAVESHARE_10_1
135-
bool "Waveshare 1280x800 10.1inch Display"
130+
config BSP_LCD_TYPE_800_1280_10_1_INCH
131+
bool "Waveshare 101M-8001280-IPS-CT-K Display"
132+
config BSP_LCD_TYPE_800_1280_10_1_INCH_A
133+
bool "Waveshare 10.1-DSI-TOUCH-A Display"
134+
config BSP_LCD_TYPE_800_1280_8_INCH_A
135+
bool "Waveshare 8-DSI-TOUCH-A Display"
136+
config BSP_LCD_TYPE_720_1280_7_INCH_A
137+
bool "Waveshare 7-DSI-TOUCH-A Display"
138+
config BSP_LCD_TYPE_480_640_2_8_INCH
139+
bool "Waveshare 2.8inch DSI LCD Display"
140+
config BSP_LCD_TYPE_800_800_3_4_INCH_C
141+
bool "Waveshare 3.4inch DSI LCD (C) Display"
142+
config BSP_LCD_TYPE_720_720_4_INCH_C
143+
bool "Waveshare 4inch DSI LCD (C) Display"
144+
config BSP_LCD_TYPE_480_800_4_INCH
145+
bool "Waveshare 4inch DSI LCD Display"
146+
config BSP_LCD_TYPE_720_1280_5_INCH_D
147+
bool "Waveshare 5inch DSI LCD (D) Display"
148+
config BSP_LCD_TYPE_720_1560_6_25_INCH
149+
bool "Waveshare 6.25inch DSI LCD Display"
150+
config BSP_LCD_TYPE_1024_600_5_INCH_C
151+
bool "Waveshare 5inch DSI LCD (C) Display"
152+
config BSP_LCD_TYPE_1024_600_7_INCH_C
153+
bool "Waveshare 7inch DSI LCD (C) Display"
154+
config BSP_LCD_TYPE_400_1280_7_9_INCH
155+
bool "Waveshare 7.9inch DSI LCD Display"
156+
config BSP_LCD_TYPE_1280_800_7_INCH_E
157+
bool "Waveshare 7inch DSI LCD (E) Display"
158+
config BSP_LCD_TYPE_1280_800_8_INCH_C
159+
bool "Waveshare 8inch DSI LCD (C) Display"
160+
config BSP_LCD_TYPE_1280_800_10_1_INCH_C
161+
bool "Waveshare 10.1inch DSI LCD (C) Display"
162+
config BSP_LCD_TYPE_480_1920_8_8_INCH
163+
bool "Waveshare 8.8inch DSI LCD Display"
164+
config BSP_LCD_TYPE_320_1480_11_9_INCH
165+
bool "Waveshare 11.9inch DSI LCD Display"
136166
endchoice
137167

138168
config BSP_LCD_MIPI_DSI_LANE_BITRATE_MBPS

bsp/esp32_p4_nano/README.md

Lines changed: 65 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,24 @@ ESP32-P4-NANO is a small size and highly integrated development board designed b
1212
Configuration in `menuconfig`.
1313

1414
Selection LCD display `Board Support Package(ESP32-P4) --> Display --> Select LCD type`
15-
- Waveshare LCD 10.1-inch 800x1280 - jd9365 (default)
16-
- LCD 7-inch 1280x800 - ili9881c
17-
- LCD 1024x600 - ek79007
15+
- Waveshare 101M-8001280-IPS-CT-K Display (default)
16+
- Waveshare 10.1-DSI-TOUCH-A Display
17+
- Waveshare 8-DSI-TOUCH-A Display
18+
- Waveshare 7-DSI-TOUCH-A Display
19+
- Waveshare 2.8inch DSI LCD Display
20+
- Waveshare 3.4inch DSI LCD (C) Display
21+
- Waveshare 4inch DSI LCD (C) Display
22+
- Waveshare 4inch DSI LCD Display
23+
- Waveshare 5inch DSI LCD (D) Display
24+
- Waveshare 6.25inch DSI LCD Display
25+
- Waveshare 5inch DSI LCD (C) Display
26+
- Waveshare 7inch DSI LCD (C) Display
27+
- Waveshare 7.9inch DSI LCD Display
28+
- Waveshare 7inch DSI LCD (E) Display
29+
- Waveshare 8inch DSI LCD (C) Display
30+
- Waveshare 10.1inch DSI LCD (C) Display
31+
- Waveshare 8.8inch DSI LCD Display
32+
- Waveshare 11.9inch DSI LCD Display
1833

1934
Selection color format `Board Support Package(ESP32-P4) --> Display --> Select LCD color format`
2035
- RGB565 (default)
@@ -25,7 +40,39 @@ Change MIPI DSI lane bitrate `Board Support Package(ESP32-P4) --> Display --> MI
2540

2641
## Display Page
2742

28-
[Waveshare 101M-8001280-IPS-CT-K](https://www.waveshare.com/101m-8001280-ips-ct-k.htm)
43+
44+
### Recommended display screen
45+
46+
| Product ID | Dependency | tested |
47+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|--------|
48+
| [10.1-DSI-TOUCH-A](https://www.waveshare.com/10.1-dsi-touch-a.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/1/0/10.1-dsi-touch-a-1.jpg"> | [waveshare/esp_lcd_jd9365_10_1](display/lcd/esp_lcd_jd9365_10_1) ||
49+
| [101M-8001280-IPS-CT-K](https://www.waveshare.com/101m-8001280-ips-ct-k.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/1/0/101m-8001280-ips-ct-k-1.jpg"> | [waveshare/esp_lcd_jd9365_10_1](display/lcd/esp_lcd_jd9365_10_1) ||
50+
| [7-DSI-TOUCH-A](https://www.waveshare.com/7-dsi-touch-a.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/7/-/7-dsi-touch-a-1.jpg"> | [waveshare/esp_lcd_ili9881c](display/lcd/esp_lcd_ili9881c) ||
51+
52+
### Common Raspberry adapter screen
53+
54+
55+
<details open>
56+
<summary>View full display</summary>
57+
58+
| Product ID | Dependency | tested |
59+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|--------|
60+
| [2.8inch DSI LCD](https://www.waveshare.com/2.8inch-dsi-lcd.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/thumbnail/122x122/9df78eab33525d08d6e5fb8d27136e95/2/_/2.8inch-dsi-lcd-3.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
61+
| [3.4inch DSI LCD (C)](https://www.waveshare.com/3.4inch-dsi-lcd-c.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/3/_/3.4inch-dsi-lcd-c-1.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
62+
| [4inch DSI LCD (C)](https://www.waveshare.com/4inch-dsi-lcd-c.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/4/i/4inch-dsi-lcd-c-1.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
63+
| [4inch DSI LCD](https://www.waveshare.com/4inch-dsi-lcd.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/4/i/4inch-dsi-lcd-1.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
64+
| [5inch DSI LCD (D)](https://www.waveshare.com/5inch-dsi-lcd-d.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/5/i/5inch-dsi-lcd-d-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
65+
| [6.25inch DSI LCD](https://www.waveshare.com/6.25inch-dsi-lcd.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/6/_/6.25inch-dsi-lcd-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
66+
| [5inch DSI LCD (C)](https://www.waveshare.com/5inch-dsi-lcd-c.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/5/i/5inch-dsi-lcd-c-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
67+
| [7inch DSI LCD (C)](https://www.waveshare.com/7inch-dsi-lcd-c-with-case-a.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/7/i/7inch-dsi-lcd-c-4.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
68+
| [7.9inch DSI LCD](https://www.waveshare.com/7.9inch-dsi-lcd.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/7/_/7.9inch-dsi-lcd-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
69+
| [7inch DSI LCD (E)](https://www.waveshare.com/7inch-dsi-lcd-e.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/7/i/7inch-dsi-lcd-e-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
70+
| [8inch DSI LCD (C)](https://www.waveshare.com/8inch-dsi-lcd-c.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/8/i/8inch-dsi-lcd-c-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
71+
| [10.1inch DSI LCD (C)](https://www.waveshare.com/10.1inch-dsi-lcd-c.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/1/0/10.1inch-dsi-lcd-c-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
72+
| [8.8inch DSI LCD](https://www.waveshare.com/8.8inch-dsi-lcd.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/8/_/8.8inch-dsi-lcd-2.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
73+
| [11.9inch DSI LCD](https://www.waveshare.com/11.9inch-dsi-lcd.htm) <br/><img style="width: 150px; height: auto; display: block; margin: 0 auto;" src="https://www.waveshare.com/media/catalog/product/cache/1/image/800x800/9df78eab33525d08d6e5fb8d27136e95/1/1/11.9inch-dsi-lcd-3.jpg"> | [waveshare/esp_lcd_dsi](display/lcd/esp_lcd_dsi) ||
74+
</details>
75+
2976

3077
## BackLight
3178
```c
@@ -40,15 +87,18 @@ bsp_display_brightness_set(100);
4087
4188
<!-- Autogenerated start: Dependencies -->
4289
### Capabilities and dependencies
43-
| Capability | Available | Component |Version|
44-
|-------------|------------------|----------------------------------------------------------------------------------------------------------|-------|
45-
| DISPLAY |:heavy_check_mark:| [waveshare/esp_lcd_jd9365_10_1](https://components.espressif.com/components/waveshare/esp_lcd_jd9365_10_1) | 0.0.4 |
46-
| LVGL_PORT |:heavy_check_mark:| [espressif/esp_lvgl_port](https://components.espressif.com/components/espressif/esp_lvgl_port) | ^2 |
47-
| TOUCH |:heavy_check_mark:|[espressif/esp_lcd_touch_gt911](https://components.espressif.com/components/espressif/esp_lcd_touch_gt911)| ^1 |
48-
| BUTTONS | :x: | | |
49-
| AUDIO |:heavy_check_mark:| [espressif/esp_codec_dev](https://components.espressif.com/components/espressif/esp_codec_dev) | 1.2.* |
50-
|AUDIO_SPEAKER|:heavy_check_mark:| | |
51-
| AUDIO_MIC |:heavy_check_mark:| | |
52-
| SDCARD |:heavy_check_mark:| idf | >=5.3 |
53-
| IMU | :x: | | |
90+
| Capability | Available | Component | Version |
91+
|-------------|------------------|-----------------------------------------------------------------------------------------------------|---------|
92+
| DISPLAY |:heavy_check_mark:| [waveshare/esp_lcd_jd9365_10_1](https://components.espressif.com/components/waveshare/esp_lcd_jd9365_10_1) | 1.0.3 |
93+
| DISPLAY |:heavy_check_mark:| [waveshare/esp_lcd_jd9365_8](https://components.espressif.com/components/waveshare/esp_lcd_jd9365_8) | 1.0.4 |
94+
| DISPLAY |:heavy_check_mark:| [waveshare/esp_lcd_ili9881c](https://components.espressif.com/components/waveshare/esp_lcd_ili9881c) | 1.0.1 |
95+
| DISPLAY |:heavy_check_mark:| [waveshare/esp_lcd_dsi](https://components.espressif.com/components/waveshare/esp_lcd_dsi) | 1.0.3 |
96+
| LVGL_PORT |:heavy_check_mark:| [espressif/esp_lvgl_port](https://components.espressif.com/components/espressif/esp_lvgl_port) | ^2 |
97+
| TOUCH |:heavy_check_mark:| [espressif/esp_lcd_touch_gt911](https://components.espressif.com/components/espressif/esp_lcd_touch_gt911) | ^1 |
98+
| BUTTONS | :x: | | |
99+
| AUDIO |:heavy_check_mark:| [espressif/esp_codec_dev](https://components.espressif.com/components/espressif/esp_codec_dev) | 1.2.* |
100+
|AUDIO_SPEAKER|:heavy_check_mark:| | |
101+
| AUDIO_MIC |:heavy_check_mark:| | |
102+
| SDCARD |:heavy_check_mark:| idf | >=5.3 |
103+
| IMU | :x: | | |
54104
<!-- Autogenerated end: Dependencies -->

0 commit comments

Comments
 (0)