It looks as if the sentiments expressed in this thread have got lost somewhere along the line - CHPRINTF_USE_FLOAT now defaults to TRUE if not specified.
While this is no major issue on the larger devices, on Cortex-M0+ it adds about 5K of code - a big deal when you only have 16K or 32K to start with! (If hard FPU is available, adding float support makes negligible difference - 200 bytes or so)
I suggest the makefile might be the most visible place to include the option - possibly default it to 'TRUE' if the FPU is present and enabled, but certainly FALSE by default in general.
CHPRINTF_USE_FLOAT Topic is solved
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: CHPRINTF_USE_FLOAT
Strange, it must be the unintended effect of some patch, it is FALSE in 16.1.x.
Fixed.
Giovanni
Fixed.
Giovanni
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Who is online
Users browsing this forum: No registered users and 23 guests