diff options
author | Chad Elliott <elliott_c@ociweb.com> | 2017-01-17 09:18:21 -0600 |
---|---|---|
committer | Chad Elliott <elliott_c@ociweb.com> | 2017-01-17 09:18:21 -0600 |
commit | 1875fae229593322bc9b210a57ae91b5b48abcd1 (patch) | |
tree | 362972992d0a3230fb472a32dab0125c578fceb8 /templates/uvis.mpd | |
parent | a955a2291185ec0543364817ee66779d0ba4d460 (diff) | |
download | MPC-1875fae229593322bc9b210a57ae91b5b48abcd1.tar.gz |
Tue Jan 17 15:16:06 UTC 2017 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'templates/uvis.mpd')
-rw-r--r-- | templates/uvis.mpd | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/uvis.mpd b/templates/uvis.mpd index 8d1754ba..52eb3cc3 100644 --- a/templates/uvis.mpd +++ b/templates/uvis.mpd @@ -450,7 +450,11 @@ <%foreach(source_files)%> <File> <FileName><%basename(source_file)%></FileName> +<%if(ends_with(source_file, \.s))%> + <FileType>2</FileType> +<%else%> <FileType>1</FileType> +<%endif%> <FilePath><%source_file%></FilePath> </File> <%endfor%> @@ -657,6 +661,7 @@ </Target> </Targets> +<%if(exename)%> <%foreach(configurations)%> <%foreach(devices)%> <RTE> @@ -681,12 +686,14 @@ <targetInfo name="<%project_name%>"/> </targetInfos> </component> +<%if(device_files)%> <component Cclass="Device" Cgroup="Startup" Cvendor="Keil" Cversion="1.0.3" condition="<%board%> CMSIS"> <package name="<%dfp%>_DFP" schemaVersion="1.2" url="http://www.keil.com/pack" vendor="Keil" version="1.2.0"/> <targetInfos> <targetInfo name="<%project_name%>"/> </targetInfos> - </component> + </component> +<%endif%> </components> <files> <%foreach(cmsis_files)%> @@ -724,5 +731,6 @@ </RTE> <%endfor%> <%endfor%> +<%endif%> </Project> |