forked from len0rd/rockbox
Enable float formatting in printf
Needed for g#3415, and if the comment is to be believed, this needed updating for recent MIPS targets anyway. Just blanket enable everything for all targets with >= 8 MiB of RAM. The only targets with less than this are the Sansa Clip, c200v2, and m200v4, which all have 2 MB of RAM. The added code size is around 4 KiB to 7 KiB, depending on the target. Change-Id: I5773482a13543dabb1f93f713a21f1382a9c5a22
This commit is contained in:
parent
f6c7407cc3
commit
a3f2b64a46
1 changed files with 4 additions and 7 deletions
|
@ -30,11 +30,8 @@
|
||||||
|
|
||||||
#ifndef BOOTLOADER
|
#ifndef BOOTLOADER
|
||||||
|
|
||||||
/* Only the Quake plugin needs float formatting */
|
/* Turn everything on if we have enough RAM. */
|
||||||
#if defined(HAVE_LCD_COLOR) && \
|
#if MEMORYSIZE >= 8
|
||||||
(!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE)) && \
|
|
||||||
(PLUGIN_BUFFER_SIZE > 0x14000) && (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(CPU_ARM)
|
|
||||||
/* turn everything on */
|
|
||||||
# define FMT_LENMOD (0xffffffff)
|
# define FMT_LENMOD (0xffffffff)
|
||||||
# define FMT_RADIX (0xffffffff)
|
# define FMT_RADIX (0xffffffff)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue