mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 06:04:28 +08:00
Re-design vsprintf so that it does not use so much stack; handle 8051's 2-byte generic pointers.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@38 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -80,6 +80,14 @@
|
||||
|
||||
# undef CONFIG_SMALL_MEMORY
|
||||
|
||||
/* Long and int are (probably) the same size */
|
||||
|
||||
# undef CONFIG_LONG_IS_NOT_INT
|
||||
|
||||
/* The pointers and int are the same size */
|
||||
|
||||
# undef CONFIG_PTR_IS_NOT_INT
|
||||
|
||||
/* GCC supports inlined functions */
|
||||
|
||||
# define CONFIG_HAVE_INLINE 1
|
||||
@@ -140,6 +148,14 @@
|
||||
|
||||
# define CONFIG_SMALL_MEMORY 1
|
||||
|
||||
/* Long and int are not the same size */
|
||||
|
||||
# define CONFIG_LONG_IS_NOT_INT 1
|
||||
|
||||
/* The generic point and int are not the same size */
|
||||
|
||||
# define CONFIG_PTR_IS_NOT_INT 1
|
||||
|
||||
/* SDCC does not support inline functions */
|
||||
|
||||
# undef CONFIG_HAVE_INLINE
|
||||
@@ -172,6 +188,8 @@
|
||||
# define CODE
|
||||
|
||||
# undef CONFIG_SMALL_MEMORY
|
||||
# undef CONFIG_LONG_IS_NOT_INT
|
||||
# undef CONFIG_PTR_IS_NOT_INT
|
||||
# undef CONFIG_HAVE_INLINE
|
||||
# undef CONFIG_HAVE_LONG_LONG
|
||||
# undef CONFIG_HAVE_DOUBLE
|
||||
|
||||
Reference in New Issue
Block a user