In the past I have done various small assembler projects, employing only one file to compile. Now I have to write a bit larger embedded software in C and I wonder how to organize my source code to keep it maintainable as good as possible. Is there an online resource explaining what goes in which header file, what goes in which .c file and how to reference each. How do I get some structure in my source code so that I can keep track of what I have done? The books I have explain C in detail, but not how to organize one's source code.
TIA, Michael