custom target and toolchain for B3_AP
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
function rtwTargetInfo(tr)
|
||||
%RTWTARGETINFO Registration file for custom toolchains.
|
||||
tr.registerTargetInfo(@loc_createToolchain);
|
||||
end
|
||||
|
||||
% -------------------------------------------------------------------------
|
||||
% Create the ToolchainInfoRegistry entries
|
||||
% -------------------------------------------------------------------------
|
||||
function config = loc_createToolchain
|
||||
|
||||
i = 1;
|
||||
%% Windows
|
||||
if exist(fullfile(fileparts(mfilename('fullpath')), 'armcc_win_tc.mat'), 'file') == 2
|
||||
config(i) = coder.make.ToolchainInfoRegistry;
|
||||
config(i).Name = 'armcc | gmake makefile (64-bit Windows)';
|
||||
config(i).FileName = fullfile(fileparts(mfilename('fullpath')), 'armcc_win_tc.mat');
|
||||
config(i).TargetHWDeviceType = {'*'};
|
||||
config(i).Platform = {computer('arch')};
|
||||
i = i + 1;
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user