added checks and default define values for UART7 and UART8 for all STM32 variants