Eclipse Scraps Resources At Will
Could be because it’s an empty project however that would be a unacceptable haphazard by eclipse. I have come to the conclusion that eclipse is a ‘dumb’ IDE tool and has its illogic ways of acting. These .c files should never be crossed out bu default.
I looked around still and found the answer in Project => Properties => C/C++ Build General => Paths and Symbols -> Source Locations: selecting paths and Edit Filter, while making sure the Filter is ‘Empty’.
Yes, it is good to include the Standard Peripheral Library in the beginning of learning using and understanding compiling C code or whatver code. Everything is in one package and the beginner has oversight over the situation. All beginners must start this way before spreading stuff around not knowing where is what and what is used. Dependencies are a pain for every beginner. The concept of dependencies is what is overlooked in Arduino. Many Arduino people find themselves in unsurmountable trouble once entering the ARM zone and Eclipse with its unpredictable quircks. Soon C-code might be defunct and the connoisseur/enthusiast will be left completely at a loss with C++ code’s bloating coding protocols. Anyway, that’s another story.
Your solution ‘Right Click -> Resource Configuration -> Exclude from Build -> the un check the checkbox’ makes me the more aware how an Eclipse setting can be changed from several different Eclipse setting options. Very user unfriendly, but that’s also another story. There’s still a lot to be done to reduce forum clog.