uint8_t, uint16_t, uint32_t are internationally standardised by the ISO;
u8, u16, u32 are not! (nothing specifically to do with the STM32 here)
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.