Subversion Repositories DevTools

Rev

Rev 5709 | Blame | Compare with Previous | Last modification | View Log | RSS feed

########################################################################
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
#
# Module name   : RIORDS
# Module type   : JATS PLATFORM Definition
# Compiler(s)   : Perl
# Environment(s): jats
#
# Description   : Support for the Texas Instruments MSP430 from their CC Studio
#
#......................................................................#

RIORDS_Init();

###############################################################################
#
#   This function is named after the invoking platform and the file that
#   this function is in. The two are bound.
#
#   The purpose of the xxxInit() is to provide platform-specfic support
#   to JATS. The function must do:
#
#       1) Parse any platform specific arguments
#          Arguments are specified with a PlatformRequire() statement
#       2) Define the toolset in use
#       3) Add flags and definitions as required
#
#
#   Note: Platform arguments are passed through in the Platform()
#         statement within a makefile.pl
#
#
sub RIORDS_Init
{
    my( @args ) = @ScmPlatformArgs;            # Platform arguments

#.. Parse arguments
#
    Debug( "RIORDS(@args)\n" );

    foreach $_ ( @args ) {
        Message( "RIORDS: unknown option $_ -- ignored\n" );
    }

#... Toolset
#
    Toolset( '*', 'msp430.pl', '--Version=4.3.3', '--procFlags=__MSP430F5438A__' );

#... Platform
#    
#    PlatformDefines( 'msp430.def' );
}