Skip to content

Commit 561f552

Browse files
committed
BSP offset
1 parent a9620d5 commit 561f552

File tree

12 files changed

+2770
-2365
lines changed

12 files changed

+2770
-2365
lines changed

bsp/esp_bsp_generic/Kconfig

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,26 @@ menu "Board Support Package (generic)"
700700
default 240
701701
help
702702
The height in pixels of the display.
703-
703+
704+
config BSP_DISPLAY_HORIZONTAL_OFFSET
705+
depends on BSP_DISPLAY_ENABLED
706+
int
707+
prompt "Display horizontal offset"
708+
default 0
709+
help
710+
Some displays has offset. First columns and wors are not visible on screen
711+
(specific connection layout between screen and controler). E.g. Lilygo TTGO
712+
713+
config BSP_DISPLAY_VERTICAL_OFFSET
714+
depends on BSP_DISPLAY_ENABLED
715+
int
716+
prompt "Display vertical offset"
717+
default 0
718+
help
719+
Some displays has offset. First columns and wors are not visible on screen
720+
(specific connection layout between screen and controler). E.g. Lilygo TTGO
721+
722+
704723
config BSP_DISPLAY_BRIGHTNESS_LEDC_CH
705724
depends on BSP_DISPLAY_ENABLED && BSP_DISPLAY_BACKLIGHT_GPIO != -1
706725
int "LEDC channel index for brightness control"

0 commit comments

Comments
 (0)