Hello-
I am using uVision version 4.72.1 with version 5.03.0.76 of the compile & link tools.
I am working with a set of 5 files (3 source and 2 header files) that compile and link with zero errors and warnings. However, if I copy these files into a new folder and make a brand new project in that same folder, I now get two link errors when attempting to build the project:
.\Semaphores.axf: Warning: L6305W: Image does not have an entry point. (Not specified or not set due to multiple choices.)
.\Semaphores.sct(8): warning: L6314W: No section matches pattern *(InRoot$$Sections).
When I make a new project, all I do is select the processor and set the debugger to use the Ulink-ME instead of the simulator. Everything else is left at the default settings, so you can understand my confusion as to why my files work in project A but not project B.
I've already read this article as regards to warning L6305W:
ARM Information Center
This basically says that the `-entry 0xXXXXX` command must be used to identify an entry point if the ENTRY keyword is not used to specify it. It also goes on to say that __main counts as an entry point, which of course my code includes, and as it is I've never had to worry about this stuff before when making other projects. I did not read the ARM article on warning L6314W, however, additional searches for `L6305W` turn up this article:
This article discusses how to suppress warnings. I find it highly suspicious that the warnings they explicitly use in this article are both L6305W and L6314W- it's almost as if ARM is aware that these may randomly appear as warnings due to some bug and you are going to want to suppress them. Is this the case, or is there some other knowable reason that these things pop up as warnings which will allow me to modify my code to prevent them? As my title says, I would prefer to solve the actual problem (if any) rather than suppress the warnings.