core/group/comm.script
changeset 58 b33ec37addee
parent 52 96bfe2624d23
child 77 60f47003f4b1
equal deleted inserted replaced
57:a45c6889feae 58:b33ec37addee
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     9 # 
     9 # 
    10 # Initial Contributors:
    10 # Initial Contributors:
    11 # Accenture - Initial contribution
    11 # Accenture - Initial contribution
    12 #
    12 #
       
    13 
       
    14 variant wins && error -5 "comm.script is not supported on the emulator"
    13 
    15 
    14 # NaviEngine, port next to VGA
    16 # NaviEngine, port next to VGA
    15 variant naviengine && export ARGS "--console vt100busdevcons --console-title pdd=euart1,ldd=ecomm,port=1,rate=115200"
    17 variant naviengine && export ARGS "--console vt100busdevcons --console-title pdd=euart1,ldd=ecomm,port=1,rate=115200"
    16 
    18 
    17 # H4, serial riser marked "J3"
    19 # H4, serial riser marked "J3"
    29 # QEMU simulator - assumes you're using 2nd emulated serial port for fshell, ie with options similar to "-serial file:rdebug.txt -serial COMx"
    31 # QEMU simulator - assumes you're using 2nd emulated serial port for fshell, ie with options similar to "-serial file:rdebug.txt -serial COMx"
    30 variant qemu && export ARGS "--console vt100busdevcons --console-title pdd=eserial,ldd=ecomm,rate=115200,port=1"
    32 variant qemu && export ARGS "--console vt100busdevcons --console-title pdd=eserial,ldd=ecomm,rate=115200,port=1"
    31 
    33 
    32 # Add new variants here
    34 # Add new variants here
    33 
    35 
       
    36 
       
    37 # Only try terminal keyboard if there hasn't been a better match for the hardware (and tracecore is supported)
       
    38 # Therefore, this rule should stay near the bottom of the file
       
    39 var ARGS not-defined && variant tracecore-support && export ARGS "--console terminalkeyboardcons --console-size 120,40" 
       
    40 
    34 # And finally, start fshell with the given configuration
    41 # And finally, start fshell with the given configuration
    35 var ARGS defined || error -5 "Variant not recognised, can't open serial connection"
    42 var ARGS defined || error -5 "Variant not recognised, can't open serial connection"
    36 fshell $ARGS &
    43 fshell $ARGS &