- --debug) DEBUG=1;
- echo "Debug messages enabled !!";;
- --debugPDO) DEBUG=PDO;
- echo "Debug messages (PDO) enabled !!";;
- --enable-lss) SUB_LSS_ENABLE=YES;
- echo "On user request: Will enable Auto Baudrate detect Feature";;
- --desable-timers) SUB_TIMERS_ENABLE=NO;
- echo "On user request: Will enable built-in timer dispatch Feature";;
- --MAX_CAN_BUS_ID=*) MAX_CAN_BUS_ID=$1;;
- --SDO_MAX_LENGTH_TRANSFERT=*) SDO_MAX_LENGTH_TRANSFERT=$1;;
- --SDO_MAX_SIMULTANEOUS_TRANSFERTS=*) SDO_MAX_SIMULTANEOUS_TRANSFERTS=$1;;
- --NMT_MAX_NODE_ID=*) NMT_MAX_NODE_ID=$1;;
- --SDO_TIMEOUT_MS=*) SDO_TIMEOUT_MS=$1;;
- --CANOPEN_BIG_ENDIAN=*) CANOPEN_BIG_ENDIAN=$1;;
- --MAX_NB_TIMER=*) MAX_NB_TIMER=$1;;
- --help) echo "Usage: ./configure [options]"
- echo "Options:"
- echo " --cc=foo Use compiler 'foo' instead of defaults ${CC1} or ${CC2}."
- echo " --arch=foo Use architecture 'foo' instead of trying to autodetect."
- echo " --os=foo Use operative system 'foo' instead of trying to autodetect."
- echo " --prefix=foo Use prefix 'foo' instead of default ${SUB_PREFIX}."
- echo " --target=foo Use 'foo' as build target."
- echo " \"generic\" for have independant CAN and TIMERS driver"
- echo " \"unix\" for unix-like systems"
- echo " \"win32\" for win32 systems"
- echo " \"hcs12\" for HCS12 micro-controller"
- echo " \"ecos_lpc2138_sja1000\" for eCOS + Philips ARM LPC21381 + Philips SJA1000"
- echo " --can=foo Use 'foo' as CAN driver (can be either 'peak', 'lincan' or 'virtual')"
- echo " --timers=foo Use 'foo' as TIMERS driver (can be either 'unix' or 'xeno')"
- echo " --led=foo Use 'foo' as DS-305 LED driver (use 'none' to disable or 'stdout')"
- echo " --nvram=foo Use 'foo' as NVRAM driver (use 'none' to disable or 'file')"
- echo " --disable-Ox Disable gcc \"-Ox\" optimizations."
- echo " --debug Enable debug messages."
- echo " --debugPDO Enable debug messages, using PDO."
- echo " --enable-lss Enable Auto Baudrate detect Feature"
+ --disable-dll) DISABLE_DLL=1;
+ echo "On user request: Won't create and link to dll";;
+ --enable-lss) ENABLE_LSS=1;
+ echo "On user request: LSS services enabled";;
+ --enable-lss-fs) ENABLE_LSS_FS=1;
+ echo "On user request: LSS FastScan service enabled";;
+ --debug=*) DEBUG=$optarg;;
+ --MAX_CAN_BUS_ID=*) MAX_CAN_BUS_ID=$optarg;;
+ --SDO_MAX_LENGTH_TRANSFERT=*) SDO_MAX_LENGTH_TRANSFERT=$optarg;;
+ --SDO_MAX_SIMULTANEOUS_TRANSFERTS=*) SDO_MAX_SIMULTANEOUS_TRANSFERTS=$optarg;;
+ --NMT_MAX_NODE_ID=*) NMT_MAX_NODE_ID=$optarg;;
+ --SDO_TIMEOUT_MS=*) SDO_TIMEOUT_MS=$optarg;;
+ --CANOPEN_BIG_ENDIAN=*) CANOPEN_BIG_ENDIAN=$optarg;;
+ --MAX_NB_TIMER=*) MAX_NB_TIMER=$optarg;;
+ --EMCY_MAX_ERRORS=*) EMCY_MAX_ERRORS=$optarg;;
+ --LSS_TIMEOUT_MS=*) LSS_TIMEOUT_MS=$optarg;;
+ --LSS_FS_TIMEOUT_MS=*) LSS_FS_TIMEOUT_MS=$optarg;;
+ --help)
+ echo "Usage: ./configure [options]"
+ echo "Options:"
+ echo " --cc=foo Use C compiler 'foo' instead of defaults ${CC1} or ${CC2}."
+ echo " --cxx=foo Use C++ compiler 'foo' instead of defaults g++."
+ echo " --ld=foo Use linker 'foo' instead of ld."
+ echo " --arch=foo Use architecture 'foo' instead of trying to autodetect."
+ echo " --os=foo Use operative system 'foo' instead of trying to autodetect."
+ echo " --kerneldir=foo Use 'foo' as kernel source directory instead of default"
+ echo " --prefix=foo Use prefix 'foo' instead of default ${SUB_PREFIX}."
+ echo " --target=foo Use 'foo' as build target."
+ echo " \"unix\" for unix-like systems (Linux, Cygwin)"
+ echo " \"win32\" for win32 systems (native, mingw or VC++)"
+ echo " \"hcs12\" for HCS12 micro-controller"
+ echo " --can=foo Use 'foo' as CAN driver"
+ echo " \"anagate_linux\" use AnaGate CAN(duo) driver for linux"
+ echo " \"anagate_win32\" use AnaGate CAN(duo) driver for win32"
+ echo " \"peak_linux\" use Linux build host installed Peak driver and library"
+ echo " see http://www.peak-system.com/linux/"
+ echo " \"peak_win32\" use win32 PcanLight Peak driver and library with Cygwin"
+ echo " see http://www.peak-system.com/themen/download_gb.html"
+ echo " \"virtual\" use unix pipe based virtual can driver"
+ echo " \"virtual_kernel\" use kernel module virtual can driver"
+ echo " \"socket\" use socket-can "
+ echo " see http://developer.berlios.de/projects/socketcan/"
+ echo " \"lincan\" lincan driver"
+ echo " see http://www.ocera.org/download/components/WP7/lincan-0.3.3.html"
+ echo " \"can4linux\" can4linux driver"
+ echo " see http://www.port.de/engl/canprod/hw_can4linux.html"
+ echo " --timers=foo Use 'foo' as TIMERS driver (can be 'unix', 'xeno', 'rtai' or 'kernel')"
+ echo " --wx=foo Force result of WxWidgets detection (0 or 1)"
+ echo " --binutils=path Override binutils path detection (as regards \$CC content)"
+ echo " --disable-dll Disable run-time dynamic linking of can, led and nvram drivers"
+ echo " --enable-lss Enable the LSS services"
+ echo " --enable-lss-fs Enable the LSS FastScan service"
+ echo " --disable-Ox Disable gcc \"-Ox\" optimizations."
+ echo " --debug=foo,foo,.. Enable debug messages, ERR -> only errors, WAR)."
+ echo " \"PDO\" send errors and warnings through PDO messages"
+ echo " \"ERR\" print errors only, to stdout"
+ echo " \"WAR\" print errors and warnings, to stdout"
+ echo " \"MSG\" print messages content, to stdout"