Signature issue in HAL function HAL_UART_Transmit(). How to file a bug/{change request}?
Function:
HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout)
The param pData should be `const uint8_t *pData`, because the data pointed to by that pointer are read only.
If I pass a `const char *` argument to to this param then the compiler complains:
error: invalid conversion from 'const char*' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
(i.e. the function signature tries to remove const, which is bad).