summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/common
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-17 22:03:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-17 22:03:20 +0000
commit8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb (patch)
tree87740e93bfb0a2278940052bed3033e8416a1ea2 /nuttx/arch/avr/src/common
parent1fa5b196fa1600c907dbab13859a4f731e48470d (diff)
downloadpx4-nuttx-8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb.tar.gz
px4-nuttx-8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb.tar.bz2
px4-nuttx-8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb.zip
Fix AVR clock setup; add SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3721 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/common')
-rw-r--r--nuttx/arch/avr/src/common/up_assert.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/arch/avr/src/common/up_assert.c b/nuttx/arch/avr/src/common/up_assert.c
index b2cd8ae86..a0ba2355e 100644
--- a/nuttx/arch/avr/src/common/up_assert.c
+++ b/nuttx/arch/avr/src/common/up_assert.c
@@ -69,6 +69,15 @@
# define CONFIG_PRINT_TASKNAME 1
#endif
+/* If there is going to be stackdump output, then we should turn on output
+ * here unconditionally as well.
+ */
+
+#ifdef CONFIG_ARCH_STACKDUMP
+# undef lldbg
+# define lldbg lib_lowprintf
+#endif
+
/****************************************************************************
* Private Data
****************************************************************************/