Highlights from
Embedded Coder Support Package for Green Hills MULTI IDE (R2012b)

image thumbnail

Embedded Coder Support Package for Green Hills MULTI IDE (R2012b)

by

 

Embedded Coder integration for creating models that run directly in Green Hills MULTI IDE

arm()
% NOTE: DO NOT REMOVE THIS LINE XMAKEFILE_TOOL_CHAIN_CONFIGURATION
function toolChainConfiguration = arm()
%ARM Defines a tool chain configuration

%   Copyright 2009-2010 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $
%   $Date: 2012/04/02 21:43:16 $

% Requirements
toolChainConfiguration = getGHSCommonTC();
% General
toolChainConfiguration.Configuration = 'ghsmulti_arm';
toolChainConfiguration.Description = 'Tool chain configuration for ARM using GHS MULTI';
toolChainConfiguration.Version = '2.0';
% Compiler
toolChainConfiguration.CompilerPath = ...
    @(src) [getPath(src.PrivateData.(linkfoundation.xmakefile.XMakefilePreferences.GHSMULTIInstallDir)()) 'ccarm'];
% Linker
toolChainConfiguration.LinkerPath = ...
    @(src) [getPath(src.PrivateData.(linkfoundation.xmakefile.XMakefilePreferences.GHSMULTIInstallDir)()) 'ccarm'];
% Archiver
toolChainConfiguration.ArchiverPath = ...
    @(src) [getPath(src.PrivateData.(linkfoundation.xmakefile.XMakefilePreferences.GHSMULTIInstallDir)()) 'ccarm'];

    function value = getPath(location)
        value = location.Path;
    end

end

Contact us