I use clang-format for automatically sorting include files by scope and name, and this leads to compilation problems with some headers.
One such example is
Code: Select all
Since chprintf.h depends on type declarations from hal.h, this does not compile. Would you consider adding the hal.h include into the chprintf.h header? Otherwise, I see no way of fixing this issues (except for not using my formatter and sorting by hand).
Thank you in advance