LL_USART_Init generated by CubeMX size reduction ?
Hi everyone,
Like most of embedded work, our project aims to have the smallest size possible.
Looking at what I can optimize, I came across the LL_USART_Init function that is generated by CubeMx.
This function uses LL_USART-SetBaudRate which needs to use Division for unsigned long (_udivmoddi4). On a STM32F4 project, _udivmoddi4 takes 720 bytes of flash space!!
Does anyone have a simple trick to get around this apart from getting rid of CubeMX initialisation and never use LL_USART_SetBaudRate ?
