Suggestions for a Good Folder Structure and Files Arrangement
My programming background is (was) assembly. Just love it.
It's good to go to the movies and watch "The Matrix" and be the only one to laugh when those green letters are falling, since you are the only that understands that thing.
Well, but I have to move on and use C and this is the reason of the post (512KB of program memory available on todays PIC is also another good reason).
I want to make the project that someone will look at it and say, 'Wow, this is nice. Makes me remember when I used to program in Cobol'.
The available books out there are for C, but not for a hardware based C. Keep reading and you'll understand what I mean.
Besides de main.c and main.h, how should I arrange the other hardware specific files? For example, the initialization? Should I create a init.c?
PPS? Should I create a PPS.c or should the PPS unlock+lock stuff be inside the init.c?
Interrupts?? Should a interrupt c. be used?
If think you have the idea of what kind of suggestion I am looking for ;)
Any suggestions will be great and humbly accepted.
Thanks in advance.