Subversion Repositories DevTools

Rev

Rev 383 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
383 dpurdie 1
########################################################################
2
# Copyright (C) 1998-2011 Vix Technology, All rights reserved
3
#
4
# Module name   : VIXITP
5
# Module type   : JATS PLATFORM Definition
6
# Compiler(s)   : Perl
7
# Environment(s): jats
8
#
9
# Description   : Support for the Texas Instruments MSP430 from their CC Studio
10
#                 Support for the Integrated Tent Pole
11
#
12
#......................................................................#
13
 
14
VIXITP_Init();
15
 
16
###############################################################################
17
#
18
#   This function is named after the invoking platform and the file that
19
#   this function is in. The two are bound.
20
#
21
#   The purpose of the xxxInit() is to provide platform-specfic support
22
#   to JATS. The function must do:
23
#
24
#       1) Parse any platform specific arguments
25
#          Arguments are specified with a PlatformRequire() statement
26
#       2) Define the toolset in use
27
#       3) Add flags and definitions as required
28
#
29
#
30
#   Note: Platform arguments are passed through in the Platform()
31
#         statement within a makefile.pl
32
#
33
#
34
sub VIXITP_Init
35
{
36
    my( @args ) = @ScmPlatformArgs;            # Platform arguments
37
 
38
#.. Parse arguments
39
#
40
    Debug( "VIXITP(@args)\n" );
41
 
42
    foreach $_ ( @args ) {
43
        Message( "VIXITP: unknown option $_ -- ignored\n" );
44
    }
45
 
46
#... Toolset
47
#
48
    Toolset( '*', 'msp430.pl', '--Version=4.3.3', '--itp' );
49
 
50
#... Platform
51
#    
52
#    PlatformDefines( 'msp430.def' );
53
}
54