navienginebsp/tools/testreference/lauterbach/globals.cmm
changeset 0 5de814552237
equal deleted inserted replaced
-1:000000000000 0:5de814552237
       
     1 //
       
     2 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:  
       
    15 //
       
    16 //////////////////////////////////////////////////////////////////////////////
       
    17 //
       
    18 // Defines all of the global variables that represent the boards that the T32
       
    19 // script system supports, and the paths to the ROM images for those boards.
       
    20 // This is designed to be used in conjunction with the board configuration
       
    21 // system to be found in configdialog.cmm.
       
    22 //
       
    23 //////////////////////////////////////////////////////////////////////////////
       
    24 
       
    25 // General Globals
       
    26 GLOBAL &_BASELOC
       
    27 GLOBAL &PlatformsDir
       
    28 GLOBAL &TMPDIR
       
    29 GLOBAL &UserConfigCmm
       
    30 
       
    31 // User's Platform Config
       
    32 GLOBAL &Platform
       
    33 GLOBAL &AutoloadModule
       
    34 GLOBAL &RamAddr
       
    35 GLOBAL &RamImage
       
    36 GLOBAL &RamAddr1
       
    37 GLOBAL &RamImage1
       
    38 GLOBAL &RamAddr2
       
    39 GLOBAL &RamImage2
       
    40 GLOBAL &RamAddr3
       
    41 GLOBAL &RamImage3
       
    42 GLOBAL &RamAddr4
       
    43 GLOBAL &RamImage4
       
    44 GLOBAL &FlashAddr
       
    45 GLOBAL &FlashImage
       
    46 GLOBAL &FlashWriteProtect
       
    47 GLOBAL &FlashEraseProtect
       
    48 GLOBAL &BootAddr
       
    49 GLOBAL &BootImage
       
    50 
       
    51 // Platform Config
       
    52 // Generic Trace32 settings
       
    53 GLOBAL &CpuType
       
    54 GLOBAL &JtagClock
       
    55 GLOBAL &NumberOfCpus
       
    56 
       
    57 // On Chip Triggers
       
    58 GLOBAL &OnChipTriggerFiq
       
    59 GLOBAL &OnChipTriggerIrq
       
    60 GLOBAL &OnChipTriggerDabort
       
    61 GLOBAL &OnChipTriggerPabort
       
    62 GLOBAL &OnChipTriggerSwi
       
    63 GLOBAL &OnChipTriggerUndef
       
    64 GLOBAL &OnChipTriggerReset
       
    65 GLOBAL &OnChipTriggerAlignment
       
    66 GLOBAL &OnChipTriggerStepvector
       
    67 GLOBAL &OnChipTriggerAddress
       
    68 GLOBAL &OnChipTriggerError
       
    69 
       
    70 
       
    71 // System Options
       
    72 GLOBAL &SystemOptionEnreset
       
    73 GLOBAL &SystemOptionTurbo
       
    74 GLOBAL &SystemOptionDismode
       
    75 GLOBAL &SystemOptionNoircheck
       
    76 GLOBAL &SystemOptionWaitreset
       
    77 GLOBAL &SystemOptionResbreak
       
    78 GLOBAL &SystemOptionDacr
       
    79 GLOBAL &SystemOptionTidbgen
       
    80 GLOBAL &SystemOptionPwrCheck
       
    81 GLOBAL &SystemOptionNoSecureFix
       
    82 
       
    83 // Flash options
       
    84 GLOBAL &FlashType
       
    85 GLOBAL &FlashBlockSize
       
    86 GLOBAL &FlashStart
       
    87 GLOBAL &FlashLength
       
    88 GLOBAL &FlashEnd
       
    89 GLOBAL &FlashWidth
       
    90 GLOBAL &FlashOptionTarget
       
    91 
       
    92 GLOBAL &SystemConfigCorebase0
       
    93 GLOBAL &SystemConfigCorebase1
       
    94 GLOBAL &SystemConfigCtibase0
       
    95 GLOBAL &SystemConfigCtibase1
       
    96 GLOBAL &SystemConfigEtmfunnelport
       
    97 GLOBAL &SystemConfigFunnelbase
       
    98 GLOBAL &SystemConfigEtmbase
       
    99 GLOBAL &SystemConfigEtbbase
       
   100 GLOBAL &SystemConfigTpiubase
       
   101 
       
   102 //////////////////////////////////////////////////////////////////////////////
       
   103 // Set the global config
       
   104 //////////////////////////////////////////////////////////////////////////////
       
   105 &PlatformsDir="Platforms"
       
   106 &TMPDIR=os.ptd()
       
   107 &UserConfigCmm="userconfig.cmm"
       
   108 
       
   109 if os.file("currentconfig.cmm")
       
   110 	(
       
   111 	do currentconfig.cmm
       
   112 	)
       
   113 
       
   114 if os.file("&PlatformsDir\&Platform\platformconfig.cmm")
       
   115 (
       
   116 	do &PlatformsDir\&Platform\platformconfig.cmm
       
   117 )