summaryrefslogtreecommitdiff
path: root/nuttx/configs/p112/include/board.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-15 15:03:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-15 15:03:35 +0000
commit37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0 (patch)
treee483442aac82813e2174308c18e26629184cd6f0 /nuttx/configs/p112/include/board.h
parent862ecc12715cd262c761451634583bb59e4e5157 (diff)
downloadpx4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.tar.gz
px4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.tar.bz2
px4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.zip
Add z180 system timer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5438 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/p112/include/board.h')
-rw-r--r--nuttx/configs/p112/include/board.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/p112/include/board.h b/nuttx/configs/p112/include/board.h
index 55077709d..35a8011c1 100644
--- a/nuttx/configs/p112/include/board.h
+++ b/nuttx/configs/p112/include/board.h
@@ -41,8 +41,14 @@
************************************************************/
/************************************************************
- * Definitions
+ * Pre-processor Definitions
************************************************************/
+/* The Z180 is driven by a 16MHz crystal. The system clock
+ * is equal to the crystal frequency.
+ */
+
+#define Z180_BOARD_XTAL 16000000 /* 16 MHz */
+#define Z180_SYSCLOCK Z180_BOARD_XTAL /* 16 MHz */
/************************************************************
* Public Functions