Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
371 dpurdie 1
########################################################################
2
# Copyright (C) 1998-2011 Vix Technology, All rights reserved
3
#
4
# Module name   : RIORDS
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
#
11
#......................................................................#
12
 
13
RIORDS_Init();
14
 
15
###############################################################################
16
#
17
#   This function is named after the invoking platform and the file that
18
#   this function is in. The two are bound.
19
#
20
#   The purpose of the xxxInit() is to provide platform-specfic support
21
#   to JATS. The function must do:
22
#
23
#       1) Parse any platform specific arguments
24
#          Arguments are specified with a PlatformRequire() statement
25
#       2) Define the toolset in use
26
#       3) Add flags and definitions as required
27
#
28
#
29
#   Note: Platform arguments are passed through in the Platform()
30
#         statement within a makefile.pl
31
#
32
#
33
sub RIORDS_Init
34
{
35
    my( @args ) = @ScmPlatformArgs;            # Platform arguments
36
 
37
#.. Parse arguments
38
#
39
    Debug( "RIORDS(@args)\n" );
40
 
41
    foreach $_ ( @args ) {
42
        Message( "RIORDS: unknown option $_ -- ignored\n" );
43
    }
44
 
45
#... Toolset
46
#
3559 dpurdie 47
    Toolset( '*', 'msp430.pl', '--Version=4.3.3', '--procFlags=__MSP430F5438A__' );
371 dpurdie 48
 
49
#... Platform
50
#    
51
#    PlatformDefines( 'msp430.def' );
52
}
53