File tree Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Expand file tree Collapse file tree 4 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 5
5
### Bugfixes:
6
6
7
7
* fix(lcd): use 'delete[ ] ' instead of 'delete' for C array shared pointer @FranciscoMoya (#142 )
8
- * fix(Kconfig): fix incorrect descriptions
8
+ * fix(Kconfig): fix build error on esp-idf and incorrect descriptions @ Cathgao ( # 133 )
9
9
10
10
## v0.2.1 - 2024-11-14
11
11
Original file line number Diff line number Diff line change 1
1
menu "ESP Display Panel Configurations"
2
2
config ESP_PANEL_CONF_FILE_SKIP
3
- bool "Unckeck this to ignore `ESP_Panel_Conf.h`"
3
+ bool "Unckeck this to use `ESP_Panel_Conf.h`"
4
4
default y
5
5
6
6
config ESP_PANEL_BOARD_FILE_SKIP
7
- bool "Unckeck this to ignore `ESP_Panel_Board_*.h`"
7
+ bool "Unckeck this to use `ESP_Panel_Board_*.h`"
8
8
default y
9
9
10
10
config ESP_PANEL_CHECK_RESULT_ASSERT
Original file line number Diff line number Diff line change 480
480
#define ESP_PANEL_LCD_3WIRE_SPI_SDA_USE_EXPNADER 0
481
481
#endif
482
482
#endif
483
+ #ifndef ESP_PANEL_LCD_3WIRE_SPI_SCL_ACTIVE_EDGE
484
+ #ifdef CONfIGESP_PANEL_LCD_3WIRE_SPI_SCL_ACTIVE_EDGE
485
+ #define ESP_PANEL_LCD_3WIRE_SPI_SCL_ACTIVE_EDGE CONFIG_ESP_PANEL_LCD_3WIRE_SPI_SCL_ACTIVE_EDGE
486
+ #else
487
+ #define ESP_PANEL_LCD_3WIRE_SPI_SCL_ACTIVE_EDGE 0
488
+ #endif
489
+ #endif
483
490
#ifndef ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
484
491
#ifdef CONFIG_ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
485
492
#define ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO CONFIG_ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
587
594
#error "Missing configuration: ESP_PANEL_LCD_RGB_PIXEL_BITS"
588
595
#endif
589
596
#endif
597
+ #ifndef ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE
598
+ #ifdef CONFIG_ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE
599
+ #define ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE CONFIG_ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE
600
+ #else
601
+ #define ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE 0
602
+ #endif
603
+ #endif
590
604
#ifndef ESP_PANEL_LCD_RGB_IO_HSYNC
591
605
#ifdef CONFIG_ESP_PANEL_LCD_RGB_IO_HSYNC
592
606
#define ESP_PANEL_LCD_RGB_IO_HSYNC CONFIG_ESP_PANEL_LCD_RGB_IO_HSYNC
1042
1056
#define ESP_PANEL_BACKLIGHT_IDLE_OFF 0
1043
1057
#endif
1044
1058
#endif
1059
+ #ifndef ESP_PANEL_LCD_BL_USE_PWM
1060
+ #ifdef CONFIG_ESP_PANEL_LCD_BL_USE_PWM
1061
+ #define ESP_PANEL_LCD_BL_USE_PWM CONFIG_ESP_PANEL_LCD_BL_USE_PWM
1062
+ #else
1063
+ #define ESP_PANEL_LCD_BL_USE_PWM 0
1064
+ #endif
1065
+ #endif
1045
1066
#endif /* ESP_PANEL_USE_BACKLIGHT */
1046
1067
1047
1068
// IO Expander
Original file line number Diff line number Diff line change @@ -242,6 +242,12 @@ menu "LCD settings"
242
242
bool "Use IO expander to control SDA"
243
243
default n
244
244
245
+ config ESP_PANEL_LCD_3WIRE_SPI_SCL_ACTIVE_EDGE
246
+ bool "SCL active falling edge"
247
+ default n
248
+ help
249
+ If set to 1, the SCL signal will be active on the falling edge; otherwise, it will be active on the raising edge.
250
+
245
251
config ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
246
252
bool "Auto delete panel IO instance"
247
253
default n
@@ -334,6 +340,11 @@ menu "LCD settings"
334
340
default 24 if ESP_PANEL_LCD_RGB_DATA_WIDTH_8
335
341
default 16 if ESP_PANEL_LCD_RGB_DATA_WIDTH_16
336
342
343
+ config ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE
344
+ int "Bounce buffer size (bytes)"
345
+ default 0
346
+ range 0 10000000
347
+
337
348
menu "Pins"
338
349
config ESP_PANEL_LCD_RGB_IO_HSYNC
339
350
int "HSYNC"
You can’t perform that action at this time.
0 commit comments