ElektorLabs / Arduino

Elektor's Arduino compatible boards, including Elektor Uno R4 with ATmega328PB
21 stars 10 forks source link

How does the source1 source2 source3 thing work in the source tree #4

Open edwin-oetelaar opened 6 years ago

edwin-oetelaar commented 6 years ago

Why are there multiple directories. The source3 only contains an OBJECT file no code. Why are there object files in the repository anyway, this should be source code only right? This is a version controlled system, I do not think you need to work like this.

elektor-labs commented 6 years ago

That object file is about the most important file of the project and for which we do not have the source code (but thank you for telling us how we should organise our projects).

edwin-oetelaar commented 6 years ago

I was not cynical in my remark, just curious. I found this repo because I wanted to use a Atmega48PB and I have it running now. (all in 4 KB flash) Git has the ability to use branching and keep things clean, to merge files and commits into a nice looking source tree with full traceability for who needs that.

The tree reminds me of my old development system before I started using a version control system. Zip files with version numbers in it, directories with cryptical names (and no mention of it in the readme, so you can never remove them because you might break something, object files here and there, you know..). I just found this : https://github.com/ElektorLabs/Arduino/commit/7bf8a00723792abd061918d167960da3d7d899c7 A commit without any serious description about what or why changing about 199 files. Please say that you think it is not funny ;-) It reminds me of the old days. (nostalgia)