Rev 5679 | Blame | Compare with Previous | Last modification | View Log | RSS feed
################################################################################ COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.## File: PLATFORM/COTREXM3_IAR## Contents: Support for the CORTEXM3 chipsets with a IAR toolset#################################################################################COTREXM3_IARInit();################################################################################# 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 COTREXM3_IARInit{my( @args ) = @ScmPlatformArgs; # Platform argumentsmy( $mri, $product );#.. Parse arguments#Debug( "COTREXM3_IAR(@args)\n" );foreach $_ ( @args ) {if (/^--product=(.*)/) {$product = $1;} else {Message( "COTREXM3_IAR: unknown option $_ -- ignored\n" );}}#... Toolset#Toolset( '*', 'cortexm3_iar.pl');#... Platform## PlatformDefines( "COTREXM3_IAR.def" );}