The file clock.c refers back to
extern ModuleClock *ModuleClockList
extern ClockDomain *clockDomainList;
It seems to me that a file in the system_config folder should not have to rely on a file in the demo folder in order to compile and link. I can definitley see why something in the demo folder would have to rely on the system_config folder, but not the other way around. Anyway, it is easy enough for me to change if I want, but I am trying to avoid modifying StarterWare as much as possible since I like the concept so much.
I guess I should also point out that StarterWare has two files with the same name.
Thanks for pointing out.
extern ModuleClock- yes it should be defined in lib and referenced by application. We will update this before the next release.
dmtimer- we kept the same name so that it will be easy to identify the code for a peripheral easily. Anyway since they are in different folders it should not be an issue. Do you see any issue in keeping same name?
Same name is OK. I just found it a little confusing at first.
I am often re-using Starterware code in my projects by just copying some files. I do not link the whole lib. So in that case same names are not good. And in general they are not good for maintenance and such... A small prefix or so would do to keep the relations, or?
Just my two cents.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.