STM32L0Cube UART HAL pulls in extraneous floating point code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-10-30 10:47 AM
Posted on October 30, 2016 at 18:47
Hi,
The latest STM32L0Cube UART Hal pulls in unnecessary floating point code when initializing the UART. The culprit is the __DIV_LPUART macro, which contains a floating point number (256.0). When replaced with the version from STM32L4Cube, it no longer pulls in floating point libraries. The extra code takes up at least 6KB of extra code space, which is a lot for the smaller L0's. Tony
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-12-14 1:18 PM
Posted on December 14, 2016 at 22:18
