diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-05 20:38:39 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-05 20:38:39 +0000 |
commit | 36be54817fe1d8879f26b7f0e1797e8ba23e8a0f (patch) | |
tree | dcb1e1716e40880ec68883fdc0a50123eea77293 /nuttx/arch/pjrc-8051/src | |
parent | 152b278e70541d86a06e76c25f37c9588526c6fa (diff) | |
download | px4-nuttx-36be54817fe1d8879f26b7f0e1797e8ba23e8a0f.tar.gz px4-nuttx-36be54817fe1d8879f26b7f0e1797e8ba23e8a0f.tar.bz2 px4-nuttx-36be54817fe1d8879f26b7f0e1797e8ba23e8a0f.zip |
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
Diffstat (limited to 'nuttx/arch/pjrc-8051/src')
-rw-r--r-- | nuttx/arch/pjrc-8051/src/up_allocateheap.c | 2 | ||||
-rw-r--r-- | nuttx/arch/pjrc-8051/src/up_irq.c | 4 |
2 files changed, 5 insertions, 1 deletions
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 } /************************************************************ |