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   : VIXITP
# Module type   : JATS PLATFORM Definition
# Compiler(s)   : Perl
# Environment(s): jats
#
# Description   : Support for the Texas Instruments MSP430 from their CC Studio
#                 Support for the Integrated Tent Pole
#
#......................................................................#

VIXITP_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 VIXITP_Init
{
    my( @args ) = @ScmPlatformArgs;            # Platform arguments

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

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

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

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