[chibios] fix compilation with chibios

was broken when moving generators due to tricky dependency effect