RaspberrpPi_JLX_LCD/include/config.h

32 lines
543 B
C
Raw Normal View History

#ifndef __CONFIG_H
#define __CONFIG_H
#ifndef CONFIG_SPIDEV_FILENAME
2021-03-20 11:05:37 +00:00
#define CONFIG_SPIDEV_FILENAME "/dev/spidev0.1"
#endif
#ifndef CONFIG_GPIO_CONSUMER
#define CONFIG_GPIO_CONSUMER "jlx_lcd"
#endif
#ifndef CONFIG_GPIO_CHIP
#define CONFIG_GPIO_CHIP "/dev/gpiochip0"
#endif
#ifndef CONFIG_RES_PIN
2021-03-20 11:05:37 +00:00
#define CONFIG_RES_PIN 23
#endif
#ifndef CONFIG_DC_PIN
2021-03-20 11:05:37 +00:00
#define CONFIG_DC_PIN 24
#endif
#ifndef CONFIG_DISPLAY_OFFSET_X
#define CONFIG_DISPLAY_OFFSET_X 5
#endif
#ifndef CONFIG_DISPLAY_OFFSET_Y
#define CONFIG_DISPLAY_OFFSET_Y 0
#endif
#endif