Skip to content

Commit

Permalink
Merge pull request #7 from analogdevicesinc/update-uuid
Browse files Browse the repository at this point in the history
Add dynamic UUID generation
  • Loading branch information
tfcollins authored Feb 5, 2021
2 parents 93f28e5 + 3644db9 commit 879ba24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CI/scripts/bsp.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Support: https://ez.analog.com/</param.description>
<item>9.0</item>
</param.products.version>
<param.platforms />
<param.guid>40075943-d2d1-4d90-8e59-b3eff5f58180</param.guid>
<param.guid>__UUID__</param.guid>
<param.exclude.filters>%
CI/*
slprj/*
Expand Down
3 changes: 2 additions & 1 deletion CI/scripts/genTlbx.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function genTlbx(examples)
version = '20.1.1';
ml = ver('MATLAB');
ml = ml.Release(2:end-1);

uuid = matlab.lang.internal.uuid;

%%
cd(fileparts((mfilename('fullpath'))));
Expand All @@ -26,6 +26,7 @@ function genTlbx(examples)
f = strrep(f,'__REPO-ROOT__',p);
f = strrep(f,'__VERSION__',version);
f = strrep(f,'__ML-RELEASE__',ml);
f = strrep(f,'__UUID__',uuid);

fid = fopen('../../bsp.prj','w');
fprintf(fid,'%s',f);
Expand Down

0 comments on commit 879ba24

Please sign in to comment.