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
+8
View File
@@ -102,6 +102,14 @@ CONFIG_DISABLE_PTHREAD=y
CONFIG_DISABLE_SIGNALS=y
CONFIG_DISABLE_MQUEUE=y
#
# Misc libc settings
#
# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a
# little smaller if we do not support fieldwidthes
#
CONFIG_NOPRINTF_FIELDWIDTH=y
#
# Allow for architecture optimized implementations
#
+1 -1
View File
@@ -84,4 +84,4 @@ void up_addregion(void)
{
mm_addregion((FAR void*)UP_HEAP2_BASE, UP_HEAP2_END - UP_HEAP2_BASE);
}
#endif
#endif
+4
View File
@@ -69,11 +69,15 @@
void up_irqinitialize(void)
{
#if 1 /* remove me */
IE = 0;
#else
/* Enable interrupts globally, but disable all interrupt
* sources.
*/
IE = 0x80;
#endif
}
/************************************************************