<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>uVision c8051F342 project file organisation</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/36317/uvision-c8051f342-project-file-organisation</link><description> 
Hi, 

 
I am working on a project on Keil uVision 4. This is for a SILabs
part (c8051F342I) using the C51 compiler. 

 
I have noticed that the file organisation can become quite untidy.
Object, linker and backup files dropped in the same folder as</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: uVision c8051F342 project file organisation</title><link>https://community.arm.com/thread/109435?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 06:47:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a13910cf-ffbf-4d7e-affc-a5ac432741af</guid><dc:creator>Kevin</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello Steven,&lt;/p&gt;

&lt;p&gt;
What version of the C51 compiler are you using in your
project?&lt;/p&gt;

&lt;p&gt;
The Keil tools should not rename files.&lt;/p&gt;

&lt;p&gt;
Since you are working on a legacy project, the previous programmer
may not have known about these options:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/uv4cl/uv4cl_ca_spec_seprte_fldr.htm"&gt;
&lt;a href="http://www.keil.com/support/man/docs/uv4cl/uv4cl_ca_spec_seprte_fldr.htm"&gt;www.keil.com/.../uv4cl_ca_spec_seprte_fldr.htm&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
You can read more about these in the &amp;micro;Vision User&amp;#39;s Guide
for C51, C251, C166 Development Tools:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/uv4cl/uv4cl_dg_output.htm"&gt;http://www.keil.com/support/man/docs/uv4cl/uv4cl_dg_output.htm&lt;/a&gt;&lt;br /&gt;

&lt;a href="http://www.keil.com/support/man/docs/uv4cl/uv4cl_dg_listing.htm"&gt;http://www.keil.com/support/man/docs/uv4cl/uv4cl_dg_listing.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Other ways to keep a project tidy:&lt;/p&gt;

&lt;p&gt;
- The Project Window is for organizing your project build order -
it does not care where the files are physically located. You can put
your source files in various subfolders on your hard drive, and
organize them differently within the Keil project.&lt;/p&gt;

&lt;p&gt;
- Depending how old you project is, old versions of the Keil IDE
had to use absolute paths to point to files, we have been able to use
relative paths for a while now, making things tidier.&lt;/p&gt;

&lt;p&gt;
sometimes rather than having multiple projects that do similar
things, you can have 1 project, but have disable certain Group
folders in the project window from being built.&lt;/p&gt;

&lt;p&gt;
Then you can create different targets using this dialog&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/uv4cl/uv4cl_ca_projtargfilegr.htm"&gt;
&lt;a href="http://www.keil.com/support/man/docs/uv4cl/uv4cl_ca_projtargfilegr.htm"&gt;www.keil.com/.../uv4cl_ca_projtargfilegr.htm&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision c8051F342 project file organisation</title><link>https://community.arm.com/thread/83781?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 03:51:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c5177ff6-dd3d-4173-a90a-258591ee4b86</guid><dc:creator>Steven Crowe</dc:creator><description>&lt;p&gt;&lt;p&gt;
I am picking up a legacy project and I am just getting to grips
with it. Which includes figuring out the Keil IDE and trying to
determine if there is any value in shifting to Simplicity v4 or
whether to just try to run with it as is. Can you recommend the
SILabs IDE?&lt;/p&gt;

&lt;p&gt;
The problem with the filenames is this: I create a file called
&amp;quot;PIDFunctions.h&amp;quot; only to find it has been renamed &amp;quot;PIDFUNCTIONS.H&amp;quot;.
Perhaps TortoiseSVN can handle this (which seems to be what you are
suggesting?). I find it odd and unsettling just the same.&lt;/p&gt;

&lt;p&gt;
Thanks for the advice.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uVision c8051F342 project file organisation</title><link>https://community.arm.com/thread/70611?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 03:29:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e5b4aa48-62ef-486b-9073-3328b9f63655</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
You do realise that SiLabs do a free IDE (based on Keil&amp;#39;s
compiler), don&amp;#39;t you?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;Object, linker and backup files dropped in the same folder as
the source and project files creates quite a mess&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
So don&amp;#39;t do that, then!&lt;/p&gt;

&lt;p&gt;
You can configure where those things go.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;I am new to Keil software&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
So why are you starting with such an out-of-date version?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;Is there a way to get to grips with this&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Please read the manual?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot; did notice that there are options under
PROJECT&amp;gt;&amp;gt;OPTIONS to enable you to set paths for output and
listing files&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
SO use those options, then!&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;I want to use TortoiseSVN to implement version control so
having a stable set of filenames, locations and such is quite
important&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
I don&amp;#39;t see any problem there?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>