core/group/comm.script
changeset 0 7f656887cf89
child 52 96bfe2624d23
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 #!fshell
       
     2 # comm.script
       
     3 # 
       
     4 # Copyright (c) 2010 Accenture. All rights reserved.
       
     5 # This component and the accompanying materials are made available
       
     6 # under the terms of the "Eclipse Public License v1.0"
       
     7 # which accompanies this distribution, and is available
       
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 # 
       
    10 # Initial Contributors:
       
    11 # Accenture - Initial contribution
       
    12 #
       
    13 
       
    14 # NaviEngine, port next to VGA
       
    15 variant naviengine && export ARGS "--console vt100busdevcons --console-title pdd=euart1,ldd=ecomm,port=1,rate=115200"
       
    16 
       
    17 # H4, serial riser marked "J3"
       
    18 variant h4 && export ARGS "--console vt100cons --console-title port=COMM::3,rate=115200"
       
    19 
       
    20 # H6 - port marked "UART 3"
       
    21 variant h6 && export ARGS "--console vt100busdevcons --console-title pdd=euart1,ldd=ecomm,port=7,rate=115200"
       
    22 
       
    23 # Beagle board, serial riser marked RS232 P9.
       
    24 variant beagle && export ARGS "--console vt100busdevcons --console-title port=2,rate=115200"
       
    25 
       
    26 # OPP Mid-Size Prototype, requires a special USB cable with a UART bridge built into it (normally covered in heat shrink) or a "black box".
       
    27 variant opp-mid-size && export ARGS "--console vt100busdevcons --console-title pdd=euart1,ldd=ecomm,rate=115200,port=4"
       
    28 
       
    29 # Add new variants here
       
    30 
       
    31 # And finally, start fshell with the given configuration
       
    32 var ARGS defined || error -5 "Variant not recognised, can't open serial connection"
       
    33 fshell $ARGS &