This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
Why would you want to put the display initialization into your board files? µGFX has board files as well in which the peripherals get initialized as required.
Tectu wrote:Why would you want to put the display initialization into your board files? µGFX has board files as well in which the peripherals get initialized as required.
The HAL is supposed to initialize the HW, sorry but I think that board initialization does not belong to a graphic library, probably you have a problem there.
I agree with you that it's better done within your stuff indeed. The reason why we have our own init_board() routine is to be able to setup the peripherals for systems different than ChibiOS/RT (they sometimes don't come with any HAL, as you might know better than I do). I assume that we'll just leave it empty for the ChibiOS/RT support then
Wouldn't other operating systems have their own initialization? anyway, in 3.0 the HAL will potentially become usable by other OSes or even without OS, not sure I am going to support that scenario however, my targets are RT and NIL only.