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:
patacongo
2007-03-05 20:38:39 +00:00
parent 24f2e6a0a4
commit af1289c019
11 changed files with 1342 additions and 619 deletions
+18
View File
@@ -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