diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-07 23:38:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-07 23:38:23 +0000 |
commit | 831e7057393061e4643357bc847cc329eb47fecc (patch) | |
tree | 035e90dcaf8fb95dda875fed054f2b2bea96162a /nuttx/configs | |
parent | ad309c846da5cd7cfc5979db04d25ad0eced052c (diff) | |
download | px4-nuttx-831e7057393061e4643357bc847cc329eb47fecc.tar.gz px4-nuttx-831e7057393061e4643357bc847cc329eb47fecc.tar.bz2 px4-nuttx-831e7057393061e4643357bc847cc329eb47fecc.zip |
Fix PIC32 timer source frequency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4146 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/sure-pic32mx/include/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/configs/sure-pic32mx/include/board.h b/nuttx/configs/sure-pic32mx/include/board.h index dffb8c519..44eff5b62 100644 --- a/nuttx/configs/sure-pic32mx/include/board.h +++ b/nuttx/configs/sure-pic32mx/include/board.h @@ -83,6 +83,13 @@ #define BOARD_WD_ENABLE 0 /* Watchdog is disabled */ #define BOARD_WD_PRESCALER 8 /* Watchdog pre-scaler */ +/* Timer 1 is a type A timer and is used as system clock. It can be clocked + * with either the SOSC or the PBCLOCK. We will use the PBCLOCK because it + * is much more accurate. + */ + +#undef BOARD_TIMER1_SOSC + /* LED definitions **********************************************************/ /* The Sure PIC32MX board has five LEDs. One (D4, lablel "Power") is not * controllable by software. Four are controllable by software: |