From 354b411f9ddf943fe35b380f11d52bd6201df131 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 1 Oct 2007 15:04:49 +0000 Subject: driver for Pertelian display by Andy Powell git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@843 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drivers.m4 | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'drivers.m4') diff --git a/drivers.m4 b/drivers.m4 index 5375fa6..6e7d76b 100644 --- a/drivers.m4 +++ b/drivers.m4 @@ -35,8 +35,8 @@ AC_ARG_WITH( [ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,] [ G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508,] [ LUIse, M50530, MatrixOrbital, MilfordInstruments,] - [ Noritake, NULL, PNG, PPM, picoLCD, RouterBoard, Sample,] - [ serdisplib, SimpleLCD, T6963, Trefon, USBLCD,] + [ Noritake, NULL, PNG, PPM, Pertelian, picoLCD, RouterBoard,] + [ Sample, serdisplib, SimpleLCD, T6963, Trefon, USBLCD,] [ USBHUB, WincorNixdorf, X11], drivers=$withval, drivers=all @@ -77,7 +77,8 @@ for driver in $drivers; do MILINST="yes" NORITAKE="yes" NULL="yes" - picoLCD="yes" + PERTELIAN="yes" + PICOLCD="yes" PNG="yes" PPM="yes" ROUTERBOARD="yes" @@ -151,8 +152,11 @@ for driver in $drivers; do NULL) NULL=$val; ;; + Pertelian) + PERTELIAN=$val + ;; picoLCD) - picoLCD=$val + PICOLCD=$val ;; PNG) PNG=$val @@ -392,14 +396,25 @@ if test "$NULL" = "yes"; then AC_DEFINE(WITH_NULL,1,[NULL driver]) fi -if test "$picoLCD" = "yes"; then +if test "$PERTELIAN" = "yes"; then + # select either text or graphics mode + TEXT="yes" + # select bus: serial (including USB), parallel or i2c + SERIAL="yes" + DRIVERS="$DRIVERS drv_Pertelian.o" + AC_DEFINE(WITH_PERTELIAN,1,[Pertelian driver]) +fi + + + +if test "$PICOLCD" = "yes"; then if test "$has_usb" = "true"; then TEXT="yes" GPIO="yes" SERIAL="yes" LIBUSB="yes" DRIVERS="$DRIVERS drv_picoLCD.o" - AC_DEFINE(WITH_picoLCD,1,[picoLCD driver]) + AC_DEFINE(WITH_PICOLCD,1,[picoLCD driver]) else AC_MSG_WARN(usb.h not found: picoLCD driver disabled) fi -- cgit v1.2.3