about architecture (#73)

1: core …Do not include other files… ex: hwtimer.h #include kernel.h #iinclude “cpu.h” “cpu-conf.h”

2: cpu… Contains only the basic configuration and Start to main(); ex: cmsis.

3: board … Basic configuration or BSP.

4: codes … No crossover between various CPU or board or project…

ad 1.) Interesting topic. I think it is a matter of personal taste. I decided to not forbid includes within header files to keep the list of includes short. However, nested includes sometimes make it difficult to satisfy the compiler. Any other strong opinions on this issue?

ad 2.,3. and 4.) Could you please elaborate this?