uVision generates a depency file (e.g. "myTarget.dep"). This file is located in the root directory of the project. Is there any possibility to "move" these files into any subdirectory similar to the listing and ouput directories?
In my opinion it would have been a good idea to automatically move these files into one of these directories.
The current version of uVision 5.18a creates the dependency file "myTarget.dep" in the output folder rather than in the project folder. I don't remember if and when this behavior was changed in the past. What uVision version do you use?
Why not put the SOURCE files into a separate directory and Jeep the root for the project related information.
I have already put all of my source files into several subdirectories. In the project root there are only the .uvproj/.uvopt files - and these annoying depency files.
I use 5.16a and I do not know since when these files felt into the project folder. Do you suggest to try 5.18 first?
uVision 5.16a also creates this *.dep file in the output folder. I also tested uVision 5.10 and it created the *.dep file in the project folder. So sometimes between 5.10 and 5.16, this behavior was changed. Please update to 5.18a. If this does not help, please create your project again to be sure that no old project settings prevent the new functionality.
I opened an older project where the *.dep file was located in the project folder with uVision 5.18a and the *.dep file was then created in the output folder. So an update of uVision solves this problem.
Thank you - problem solved. My *.dep files had been old files from earlier MDK revisions. Just deleting these files and performing a rebuild solved this issue. I will update to 5.18a anyway.
Thank you for support!