copcican_linux_howto.txt
changeset 629 b9274b595650
equal deleted inserted replaced
628:9e496a2aadca 629:b9274b595650
       
     1 HOW TO configure CanFestival for a CO-PCICAN card for linux:
       
     2 
       
     3 
       
     4 
       
     5 pre-actions:
       
     6 - install the CO-PCICAN card
       
     7 - install and load the user space driver co_pcicanext.ko
       
     8 
       
     9 
       
    10 
       
    11 - unpack the package to your target (if not already done)
       
    12 
       
    13 - create empty file:
       
    14   touch /usr/local/lib/libcanfestival_can_copcican_linux.so
       
    15 
       
    16 - perform package configuration:
       
    17   sh ./configure --can=copcican_linux
       
    18 
       
    19 - build the CanFestival library:
       
    20   cd src
       
    21   make
       
    22   make install
       
    23 
       
    24 - build the CanFestival Unix library:
       
    25   cd drivers/unix
       
    26   make
       
    27   make install
       
    28 
       
    29 BUGFIX:
       
    30   copy library into build directory back:
       
    31   cp /usr/local/lib/libcanfestival_unix.a drivers/unix
       
    32 
       
    33 - build the CO-PCICAN driver interface:
       
    34   cd drivers/can_copcican_linux
       
    35   make
       
    36   make install
       
    37 
       
    38 - build the example application:
       
    39   cd examples/test_copcican_linux
       
    40   make
       
    41 
       
    42 Run test_copcican_linux to see it works...
       
    43 
       
    44 
       
    45 
       
    46 Copyright (C) 2010 Cosateq GmbH & Co.KG
       
    47               http://www.cosateq.com/
       
    48               http://www.scale-rt.com/
       
    49