aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-07-15 04:15:53 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-07-15 04:15:53 +0000
commita33d603a8a6e4315feb59e4d7f184d3296d7ab6a (patch)
tree769c6e6b6530f30330d49bf5e1ccaa3f6bb19d39 /drivers.m4
parent0eaef1fe7d173a7e629dcb61360c9ae450dc7a69 (diff)
downloadlcd4linux-a33d603a8a6e4315feb59e4d7f184d3296d7ab6a.tar.gz
picoLCDGraphic driver by Nicu Pavel added
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@881 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m424
1 files changed, 22 insertions, 2 deletions
diff --git a/drivers.m4 b/drivers.m4
index 59d67ad..8aca1d2 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, Pertelian, picoLCD, RouterBoard,]
- [ Sample, serdisplib, SimpleLCD, st2205, T6963, Trefon,]
+ [ Noritake, NULL, PNG, PPM, Pertelian, picoLCD, picoLCDGraphic,]
+ [ RouterBoard, Sample, serdisplib, SimpleLCD, st2205, T6963, Trefon,]
[ USBLCD, USBHUB, WincorNixdorf, X11],
drivers=$withval,
drivers=all
@@ -79,6 +79,7 @@ for driver in $drivers; do
NULL="yes"
PERTELIAN="yes"
PICOLCD="yes"
+ PICOLCDGRAPHIC="yes"
PNG="yes"
PPM="yes"
ROUTERBOARD="yes"
@@ -159,6 +160,10 @@ for driver in $drivers; do
picoLCD)
PICOLCD=$val
;;
+ picoLCDGraphic)
+ PICOLCDGRAPHIC=$val
+ ;;
+
PNG)
PNG=$val
;;
@@ -296,6 +301,7 @@ if test "$HD44780" = "yes"; then
PARPORT="yes"
I2C="yes"
GPIO="yes"
+ KEYPAD="yes"
DRIVERS="$DRIVERS drv_HD44780.o"
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
fi
@@ -424,6 +430,20 @@ if test "$PICOLCD" = "yes"; then
fi
fi
+if test "$PICOLCDGRAPHIC" = "yes"; then
+ if test "$has_usb" = "true"; then
+ TEXT="yes"
+ GRAPHIC="yes"
+ GPIO="yes"
+ SERIAL="yes"
+ LIBUSB="yes"
+ DRIVERS="$DRIVERS drv_picoLCDGraphic.o"
+ AC_DEFINE(WITH_PICOLCDGRAPHIC,1,[picoLCDGraphic driver])
+ else
+ AC_MSG_WARN(usb.h not found: picoLCDGraphic driver disabled)
+ fi
+fi
+
if test "$PNG" = "yes"; then
if test "$has_gd" = "true"; then
IMAGE="yes"