diff options
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/README.txt | 6 | ||||
-rw-r--r-- | nuttx/arch/c5471/defconfig | 8 | ||||
-rw-r--r-- | nuttx/arch/pjrc-8051/defconfig | 8 | ||||
-rw-r--r-- | nuttx/arch/pjrc-8051/src/up_allocateheap.c | 2 | ||||
-rw-r--r-- | nuttx/arch/pjrc-8051/src/up_irq.c | 4 | ||||
-rw-r--r-- | nuttx/arch/sim/defconfig | 8 |
6 files changed, 35 insertions, 1 deletions
diff --git a/nuttx/arch/README.txt b/nuttx/arch/README.txt index 64a77e924..35279349f 100644 --- a/nuttx/arch/README.txt +++ b/nuttx/arch/README.txt @@ -111,6 +111,12 @@ defconfig -- This is a configuration file similar to the Linux CONFIG_DISABLE_CLOCK, CONFIG_DISABLE_PTHREAD. CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE + + Misc libc settings + + CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a + little smaller if we do not support fieldwidthes + Allow for architecture optimized implementations The architecture can provide optimized versions of the diff --git a/nuttx/arch/c5471/defconfig b/nuttx/arch/c5471/defconfig index 1ce7dd879..e3f8d028a 100644 --- a/nuttx/arch/c5471/defconfig +++ b/nuttx/arch/c5471/defconfig @@ -136,6 +136,14 @@ CONFIG_DISABLE_SIGNALS=n CONFIG_DISABLE_MQUEUE=n # +# Misc libc settings +# +# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a +# little smaller if we do not support fieldwidthes +# +CONFIG_NOPRINTF_FIELDWIDTH=n + +# # Allow for architecture optimized implementations # # The architecture can provide optimized versions of the diff --git a/nuttx/arch/pjrc-8051/defconfig b/nuttx/arch/pjrc-8051/defconfig index 508440c27..c24f0a08d 100644 --- a/nuttx/arch/pjrc-8051/defconfig +++ b/nuttx/arch/pjrc-8051/defconfig @@ -103,6 +103,14 @@ 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 # # The architecture can provide optimized versions of the diff --git a/nuttx/arch/pjrc-8051/src/up_allocateheap.c b/nuttx/arch/pjrc-8051/src/up_allocateheap.c index b6e6a0208..bdbe464b4 100644 --- a/nuttx/arch/pjrc-8051/src/up_allocateheap.c +++ b/nuttx/arch/pjrc-8051/src/up_allocateheap.c @@ -84,4 +84,4 @@ void up_addregion(void) { mm_addregion((FAR void*)UP_HEAP2_BASE, UP_HEAP2_END - UP_HEAP2_BASE); } -#endif
\ No newline at end of file +#endif diff --git a/nuttx/arch/pjrc-8051/src/up_irq.c b/nuttx/arch/pjrc-8051/src/up_irq.c index 772623167..e9f2c2a13 100644 --- a/nuttx/arch/pjrc-8051/src/up_irq.c +++ b/nuttx/arch/pjrc-8051/src/up_irq.c @@ -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 } /************************************************************ diff --git a/nuttx/arch/sim/defconfig b/nuttx/arch/sim/defconfig index 9d8aab7aa..1dbd2365d 100644 --- a/nuttx/arch/sim/defconfig +++ b/nuttx/arch/sim/defconfig @@ -103,6 +103,14 @@ CONFIG_DISABLE_SIGNALS=n CONFIG_DISABLE_MQUEUE=n # +# Misc libc settings +# +# CONFIG_NOPRINTF_FIELDWIDTH - sprintf-related logic is a +# little smaller if we do not support fieldwidthes +# +CONFIG_NOPRINTF_FIELDWIDTH=n + +# # Allow for architecture optimized implementations # # The architecture can provide optimized versions of the |