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

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

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

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

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

end

Contact us