summaryrefslogtreecommitdiff
path: root/nuttx/configs/arduino-due/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-28 11:29:14 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-28 11:29:14 -0600
commit536282da5a248b4edd37aa9724fe5b51b2af3d79 (patch)
treee0aefe92e4da85a150df262ab7a9ee898b494337 /nuttx/configs/arduino-due/include
parent3e55b42b15f4fd4c60caf81797a1b8b8777a3ffa (diff)
downloadnuttx-536282da5a248b4edd37aa9724fe5b51b2af3d79.tar.gz
nuttx-536282da5a248b4edd37aa9724fe5b51b2af3d79.tar.bz2
nuttx-536282da5a248b4edd37aa9724fe5b51b2af3d79.zip
Arduino Due: Fixes to FLASH address, flash wait states, updated Comments. Now boots and runs a bit before crashing
Diffstat (limited to 'nuttx/configs/arduino-due/include')
-rw-r--r--nuttx/configs/arduino-due/include/board.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/nuttx/configs/arduino-due/include/board.h b/nuttx/configs/arduino-due/include/board.h
index 3bff2338e..5161cbe60 100644
--- a/nuttx/configs/arduino-due/include/board.h
+++ b/nuttx/configs/arduino-due/include/board.h
@@ -44,6 +44,7 @@
#ifndef __ASSEMBLY__
# include <stdint.h>
+# include <stdbool.h>
# ifdef CONFIG_GPIO_IRQ
# include <arch/irq.h>
# endif
@@ -127,16 +128,17 @@
/* FLASH wait states
*
- * FWS Max frequency
+ * FWS MAX FREQUENCY
* 1.62V 1.8V
* --- ----- ------
- * 0 24MHz 27MHz
- * 1 40MHz 47MHz
- * 2 72MHz 84MHz
- * 3 84MHz 96MHz
+ * 0 17MHz 19MHz
+ * 1 45MHz 50MHz
+ * 2 58MHz 64MHz
+ * 3 70MHz 80MHz
+ * 4 78MHz 90MHz
*/
-#define BOARD_FWS 2
+#define BOARD_FWS 4
/* LED definitions ******************************************************************/
/* There are two user-controllable LEDs on board the Arduino Due board: