Skip to content

Commit

Permalink
update sdkconfig.defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteYuan committed Oct 24, 2018
1 parent f977eef commit 5a70422
Showing 1 changed file with 37 additions and 26 deletions.
63 changes: 37 additions & 26 deletions lvgl_example/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -415,37 +415,48 @@ CONFIG_LVGL_DISP_ROTATE_270=
#
# Config Driver
#
CONFIG_LVGL_DRIVER_TOUCH_XPT2046=y
CONFIG_LVGL_DRIVER_TOUCH_FT5X06=
CONFIG_LVGL_DRIVER_TOUCH_XPT2046=
CONFIG_LVGL_DRIVER_TOUCH_FT5X06=y

#
# XPT2046 Touch Screen Pin Configuration
# FT5X06 Touch Screen Pin Configuration
#
CONFIG_LVGL_TOUCH_CS_GPIO=32
CONFIG_LVGL_TOUCH_IRQ_GPIO=33
CONFIG_LVGL_TOUCH_IIC_NUM=0
CONFIG_LVGL_TOUCH_SCL_GPIO=3
CONFIG_LVGL_TOUCH_SDA_GPIO=1
CONFIG_LVGL_DRIVER_ILI9341=
CONFIG_LVGL_DRIVER_SSD1306=
CONFIG_LVGL_DRIVER_ST7789=y
CONFIG_LVGL_DRIVER_NT35510=

#
# ST7789 Screen Pin Configuration
#
CONFIG_LVGL_LCD_HSPI=y
CONFIG_LVGL_LCD_VSPI=
CONFIG_LVGL_LCD_SPI_NUM=1
CONFIG_LVGL_LCD_SPI_CLOCK=20000000
CONFIG_LVGL_LCD_MISO_GPIO=27
CONFIG_LVGL_LCD_MOSI_GPIO=21
CONFIG_LVGL_LCD_CLK_GPIO=22
CONFIG_LVGL_LCD_CS_GPIO=5
CONFIG_LVGL_LCD_DC_GPIO=19
CONFIG_LVGL_LCD_RESET_GPIO=18
CONFIG_LVGL_LCD_BL_GPIO=23
CONFIG_ST7789_LVGL_DRIVER_SCREEN_WIDTH=240
CONFIG_ST7789_LVGL_DRIVER_SCREEN_HEIGHT=320
CONFIG_LVGL_DRIVER_SCREEN_WIDTH=240
CONFIG_LVGL_DRIVER_SCREEN_HEIGHT=320
CONFIG_LVGL_DRIVER_ST7789=
CONFIG_LVGL_DRIVER_NT35510=y

#
# NT35510 Screen Pin Configuration
#
CONFIG_LVGL_LCD_I2S0=y
CONFIG_LVGL_LCD_I2S1=
CONFIG_LVGL_LCD_I2S_NUM=0
CONFIG_LVGL_LCD_WR_GPIO=18
CONFIG_LVGL_LCD_RS_GPIO=5
CONFIG_LVGL_LCD_D0_GPIO=19
CONFIG_LVGL_LCD_D1_GPIO=21
CONFIG_LVGL_LCD_D2_GPIO=0
CONFIG_LVGL_LCD_D3_GPIO=22
CONFIG_LVGL_LCD_D4_GPIO=23
CONFIG_LVGL_LCD_D5_GPIO=33
CONFIG_LVGL_LCD_D6_GPIO=32
CONFIG_LVGL_LCD_D7_GPIO=27
CONFIG_LVGL_LCD_D8_GPIO=25
CONFIG_LVGL_LCD_D9_GPIO=26
CONFIG_LVGL_LCD_D10_GPIO=12
CONFIG_LVGL_LCD_D11_GPIO=13
CONFIG_LVGL_LCD_D12_GPIO=14
CONFIG_LVGL_LCD_D13_GPIO=15
CONFIG_LVGL_LCD_D14_GPIO=2
CONFIG_LVGL_LCD_D15_GPIO=4
CONFIG_NT35510_LVGL_DRIVER_SCREEN_WIDTH=480
CONFIG_NT35510_LVGL_DRIVER_SCREEN_HEIGHT=800
CONFIG_LVGL_DRIVER_SCREEN_WIDTH=480
CONFIG_LVGL_DRIVER_SCREEN_HEIGHT=800

#
# LWIP
Expand Down

0 comments on commit 5a70422

Please sign in to comment.