Changeset 855

Show
Ignore:
Timestamp:
03/03/08 17:52:50 (9 months ago)
Author:
michux
Message:

add new driver (st2205) by Jeroen/Sprite_tm

Location:
trunk
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r843 r855  
    9292drv_RouterBoard.c             \ 
    9393drv_Sample.c                  \ 
     94drv_st2205.c                  \ 
    9495drv_serdisplib.c              \ 
    9596drv_SimpleLCD.c               \ 
  • trunk/Makefile.in

    r843 r855  
    287287drv_RouterBoard.c             \ 
    288288drv_Sample.c                  \ 
     289drv_st2205.c                  \ 
    289290drv_serdisplib.c              \ 
    290291drv_SimpleLCD.c               \ 
     
    479480@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_picoLCD.Po@am__quote@ 
    480481@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_serdisplib.Po@am__quote@ 
     482@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_st2205.Po@am__quote@ 
    481483@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evaluator.Po@am__quote@ 
    482484@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@ 
  • trunk/config.h.in

    r844 r855  
    122122#undef HAVE_SQRT 
    123123 
     124/* Define to 1 if you have the <st2205.h> header file. */ 
     125#undef HAVE_ST2205_H 
     126 
    124127/* Define to 1 if `stat' has the bug that it succeeds when given the 
    125128   zero-length file name argument. */ 
     
    488491/* SimpleLCD driver */ 
    489492#undef WITH_SIMPLELCD 
     493 
     494/* st2205 driver */ 
     495#undef WITH_ST2205 
    490496 
    491497/* T6963 driver */ 
  • trunk/configure.in

    r844 r855  
    7878AC_CHECK_HEADERS(serdisplib/serdisp.h, [has_serdisplib="true"], [has_serdisplib="false"]) 
    7979 
     80# check for st2205 libs 
     81AC_CHECK_HEADERS(st2205.h, [has_st2205="true"], [has_st2205="false"]) 
     82 
    8083# check for LCD-Linux 
    8184AC_CHECK_HEADERS(linux/lcd-linux.h linux/hd44780.h, [has_lcd_linux="true"], [has_lcd_linux="false"; break]) 
  • trunk/drivers.m4

    r844 r855  
    3737  [                        LUIse, M50530, MatrixOrbital, MilfordInstruments,] 
    3838  [                        Noritake, NULL, PNG, PPM, Pertelian, picoLCD, RouterBoard,] 
    39   [                        Sample, serdisplib, SimpleLCD, T6963, Trefon, USBLCD,] 
    40   [                        USBHUB, WincorNixdorf, X11], 
     39  [                        Sample, serdisplib, SimpleLCD, st2205, T6963, Trefon,] 
     40  [                        USBLCD, USBHUB, WincorNixdorf, X11], 
    4141  drivers=$withval,  
    4242  drivers=all 
     
    8484         ROUTERBOARD="yes" 
    8585         SAMPLE="yes" 
     86         ST2205="yes" 
    8687   SERDISPLIB="yes" 
    8788         SIMPLELCD="yes" 
     
    177178         SIMPLELCD=$val 
    178179         ;; 
     180      st2205) 
     181         ST2205=$val 
     182         ;; 
    179183      T6963) 
    180184         T6963=$val 
     
    479483   DRIVERS="$DRIVERS drv_SimpleLCD.o" 
    480484   AC_DEFINE(WITH_SIMPLELCD,1,[SimpleLCD driver]) 
     485fi 
     486 
     487if test "$ST2205" = "yes"; then 
     488   if test "$has_st2205" = "true"; then 
     489      GRAPHIC="yes" 
     490      DRIVERS="$DRIVERS drv_st2205.o" 
     491      DRVLIBS="$DRVLIBS -L/usr/local/lib -lst2205" 
     492      AC_DEFINE(WITH_ST2205,1,[st2205 driver]) 
     493   else 
     494      AC_MSG_WARN(st2205.h not found: st2205 driver disabled) 
     495   fi 
    481496fi 
    482497 
  • trunk/drv.c

    r843 r855  
    7272extern DRIVER drv_RouterBoard; 
    7373extern DRIVER drv_Sample; 
     74extern DRIVER drv_st2205; 
    7475extern DRIVER drv_serdisplib; 
    7576extern DRIVER drv_SimpleLCD; 
     
    159160#ifdef WITH_SAMPLE 
    160161    &drv_Sample, 
     162#endif 
     163#ifdef WITH_ST2205 
     164    &drv_st2205, 
    161165#endif 
    162166#ifdef WITH_SERDISPLIB