Eclipse Scraps Resources At Will
It is normal because you create empty project without and peripheral is used, therefore they do not know which peripheral you want to use in your project,
and It is not good to include all the standard peripheral library to your project it is not efficient
But Eclipse helped them to make this easy, How ?
Is by excluding the files from the build configuration
and therefor you see it inactive.
How to solve this ???
Go to the file you want to add it to the project Right Click -> Resource Configuration -> Exclude from Build -> the un check the checkbox
then we will see the file is active “without the dash line on the icon”
Best Regards
Eng.mazen