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 the source and project files creates quite a mess. Also I observed that files were inexplicably saved with CAPITALIZED filenames.
I am new to Keil software. Is there a way to get to grips with this or is it something that you have to live with?
I did notice that there are options under PROJECT>>OPTIONS to enable you to set paths for output and listing files. I want to use TortoiseSVN to implement version control so having a stable set of filenames, locations and such is quite important.
You do realise that SiLabs do a free IDE (based on Keil's compiler), don't you?
"Object, linker and backup files dropped in the same folder as the source and project files creates quite a mess"
So don't do that, then!
You can configure where those things go.
"I am new to Keil software"
So why are you starting with such an out-of-date version?
"Is there a way to get to grips with this"
Please read the manual?
" did notice that there are options under PROJECT>>OPTIONS to enable you to set paths for output and listing files"
SO use those options, then!
"I want to use TortoiseSVN to implement version control so having a stable set of filenames, locations and such is quite important"
I don't see any problem there?
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?
The problem with the filenames is this: I create a file called "PIDFunctions.h" only to find it has been renamed "PIDFUNCTIONS.H". Perhaps TortoiseSVN can handle this (which seems to be what you are suggesting?). I find it odd and unsettling just the same.
Thanks for the advice.
Hello Steven,
What version of the C51 compiler are you using in your project?
The Keil tools should not rename files.
Since you are working on a legacy project, the previous programmer may not have known about these options:
www.keil.com/.../uv4cl_ca_spec_seprte_fldr.htm
You can read more about these in the µVision User's Guide for C51, C251, C166 Development Tools:
http://www.keil.com/support/man/docs/uv4cl/uv4cl_dg_output.htm http://www.keil.com/support/man/docs/uv4cl/uv4cl_dg_listing.htm
Other ways to keep a project tidy:
- 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.
- 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.
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.
Then you can create different targets using this dialog
www.keil.com/.../uv4cl_ca_projtargfilegr.htm