summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/micropendous3
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-06-17 22:03:20 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-06-17 22:03:20 +0000
commitc62c4c3ecb570888c5c8e0787802f401e83a66a4 (patch)
tree87740e93bfb0a2278940052bed3033e8416a1ea2 /nuttx/configs/micropendous3
parent99fa731668b9599146fd607d25e809205122662f (diff)
Fix AVR clock setup; add SPI driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3721 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/micropendous3')
-rwxr-xr-xnuttx/configs/micropendous3/include/board.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/configs/micropendous3/include/board.h b/nuttx/configs/micropendous3/include/board.h
index e7f72cb331..8fd35e8908 100755
--- a/nuttx/configs/micropendous3/include/board.h
+++ b/nuttx/configs/micropendous3/include/board.h
@@ -49,8 +49,10 @@
/* Configuration ************************************************************/
/* Clocking *****************************************************************/
+/* Assume default CLKDIV8 fuse setting is overridden to CLKDIV1 */
-#define BOARD_CPU_CLOCK 16000000 /* F_CPU = 16MHz */
+#define BOARD_XTAL_FREQ 16000000 /* 16MHz crystal */
+#define BOARD_CPU_CLOCK BOARD_XTAL_FREQ /* F_CPU = 16MHz */
/* LED definitions **********************************************************/
/* The Micropendous 3 has no on-board LEDs */