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 55### Bugfixes:
66
77* 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 )
99
1010## v0.2.1 - 2024-11-14
1111
Original file line number Diff line number Diff line change 11menu "ESP Display Panel Configurations"
22 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`"
44 default y
55
66 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`"
88 default y
99
1010 config ESP_PANEL_CHECK_RESULT_ASSERT
Original file line number Diff line number Diff line change 480480 #define ESP_PANEL_LCD_3WIRE_SPI_SDA_USE_EXPNADER 0
481481 #endif
482482 #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
483490 #ifndef ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
484491 #ifdef CONFIG_ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
485492 #define ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO CONFIG_ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
587594 #error "Missing configuration: ESP_PANEL_LCD_RGB_PIXEL_BITS"
588595 #endif
589596 #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
590604 #ifndef ESP_PANEL_LCD_RGB_IO_HSYNC
591605 #ifdef CONFIG_ESP_PANEL_LCD_RGB_IO_HSYNC
592606 #define ESP_PANEL_LCD_RGB_IO_HSYNC CONFIG_ESP_PANEL_LCD_RGB_IO_HSYNC
10421056 #define ESP_PANEL_BACKLIGHT_IDLE_OFF 0
10431057 #endif
10441058 #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
10451066 #endif /* ESP_PANEL_USE_BACKLIGHT */
10461067
10471068 // IO Expander
Original file line number Diff line number Diff line change @@ -242,6 +242,12 @@ menu "LCD settings"
242242 bool "Use IO expander to control SDA"
243243 default n
244244
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 rasing edge.
250+
245251 config ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
246252 bool "Auto delete panel IO instance"
247253 default n
@@ -334,6 +340,11 @@ menu "LCD settings"
334340 default 24 if ESP_PANEL_LCD_RGB_DATA_WIDTH_8
335341 default 16 if ESP_PANEL_LCD_RGB_DATA_WIDTH_16
336342
343+ config ESP_PANEL_LCD_RGB_BOUNCE_BUF_SIZE
344+ int "Bounce buffer size (bytes)"
345+ default 0
346+ range 0 10000000
347+
337348 menu "Pins"
338349 config ESP_PANEL_LCD_RGB_IO_HSYNC
339350 int "HSYNC"
You can’t perform that action at this time.
0 commit comments