Hello, Why does uv3 not allow me to add the file "foo.h" to different targets? or maybe I am missing something? I am actually trying to add the same file twice to different targets. the fact that I get an error is highly annoying as I want to place common data of an application and bootloader in a share include file, and use the same project file but with different targets.
In fact, I'm pretty sure that you cannot add a file to an individual Target:
There is only one list of files (and groups?) that applies to the whole project - ie, all Targets.
If a file is not applicable in a particular Target, you can't remove it from the Target - you can only mark it as 'Do Not Build' for that Target.
IMO, the whole uVision "Project Management" scheme is pretty weak...
:-(
I was afraid of this - but when I think of it, it makes sense given the behavior of the components dialog - selecting an alternative path does not change the contents of the file list!