Can you check if drivers in the patchset that I posted are useful for you? Specifically, the UART driver might be reusable across a larger number of MCUs. Browsing the Reference Manuals I noticed some bit differences in UART registers, but nothing that cannot be handled by per MCU-family ifdefs.
Would be great to generalize as much as possible now. At least for what's concerning stm32. For instance, maybe gpio/pinmuxer could be generalized as well that way.