Merge pull request #17 from baoshi/feature/add_st7796s
Move st7796 driver file into lvgl_tft folder.
This commit is contained in:
commit
d20d041e6e
|
@ -483,7 +483,8 @@ menu "LVGL TFT Display controller"
|
|||
LV_TFT_DISPLAY_CONTROLLER_IL3820 || \
|
||||
LV_TFT_DISPLAY_CONTROLLER_RA8875 || \
|
||||
LV_TFT_DISPLAY_CONTROLLER_JD79653A || \
|
||||
LV_TFT_DISPLAY_CONTROLLER_UC8151D
|
||||
LV_TFT_DISPLAY_CONTROLLER_UC8151D || \
|
||||
LV_TFT_DISPLAY_CONTROLLER_ST7796S
|
||||
default LV_DISPLAY_ORIENTATION_LANDSCAPE \
|
||||
if !LV_TFT_DISPLAY_CONTROLLER_JD79653A || \
|
||||
!LV_TFT_DISPLAY_CONTROLLER_UC8151D
|
||||
|
@ -525,6 +526,8 @@ menu "LVGL TFT Display controller"
|
|||
default 240 if ( LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_WROVER4 ) && (LV_DISPLAY_ORIENTATION_PORTRAIT_INVERTED)
|
||||
default 320 if ( LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_WROVER4 ) && (LV_DISPLAY_ORIENTATION_LANDSCAPE)
|
||||
default 320 if ( LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_WROVER4 ) && (LV_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED)
|
||||
default 480 if LV_PREDEFINED_DISPLAY_WT32_SC01 && (LV_DISPLAY_ORIENTATION_LANDSCAPE || LV_DISPLAY_ORIENTATION_LANDSCAPE_INVERTED)
|
||||
default 320 if LV_PREDEFINED_DISPLAY_WT32_SC01 && (LV_DISPLAY_ORIENTATION_PORTRAIT || LV_DISPLAY_ORIENTATION_PORTRAIT_INVERTED)
|
||||
default 480 if LV_PREDEFINED_DISPLAY_ERTFT0356 || LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
||||
default 64 if ( LV_PREDEFINED_DISPLAY_WEMOS_LOLIN || LV_PREDEFINED_DISPLAY_M5STICK ) && LV_DISPLAY_ORIENTATION_PORTRAIT
|
||||
default 128 if ( LV_PREDEFINED_DISPLAY_WEMOS_LOLIN || LV_PREDEFINED_DISPLAY_M5STICK ) && LV_DISPLAY_ORIENTATION_LANDSCAPE
|
||||
|
|
|
@ -21,7 +21,13 @@
|
|||
|
||||
#define __FT6X06_H
|
||||
|
||||
#include <lvgl/src/lv_hal/lv_hal.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in a new issue