diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-17 22:03:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-17 22:03:20 +0000 |
commit | 8c6ebe6f07cb81ab197850c2af4c75fb50e5f1cb (patch) | |
tree | 87740e93bfb0a2278940052bed3033e8416a1ea2 /nuttx/configs/micropendous3/include/board.h | |
parent | 1fa5b196fa1600c907dbab13859a4f731e48470d (diff) | |
download | px4-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/configs/micropendous3/include/board.h')
-rwxr-xr-x | nuttx/configs/micropendous3/include/board.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/configs/micropendous3/include/board.h b/nuttx/configs/micropendous3/include/board.h index e7f72cb33..8fd35e890 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 */ |