Subversion Repositories DevTools

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

########################################################################
# Copyright (C) 1998-2013 Vix Technology, All rights reserved
#
# Module name   : MSP430G2553
# 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 MSP430G2553 processor
#
#......................................................................#

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

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

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

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

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