aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-10-01 15:04:49 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-10-01 15:04:49 +0000
commit354b411f9ddf943fe35b380f11d52bd6201df131 (patch)
treedd12acd3f92bb6d592b252f12d1a8b05aab75df1 /drivers.m4
parent2dfe05bcccd321f4907cf976edceb409c27f2677 (diff)
downloadlcd4linux-354b411f9ddf943fe35b380f11d52bd6201df131.tar.gz
driver for Pertelian display by Andy Powell
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@843 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m427
1 files changed, 21 insertions, 6 deletions
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