summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc313x/lpc313x_wdt.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-05 14:31:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-05 14:31:46 +0000
commit08f9be9b748dfa310b3150e0a931e3aa89c09eeb (patch)
treec2c02b16f2ac8dcdf0282138d82a6a1fc006d385 /nuttx/arch/arm/src/lpc313x/lpc313x_wdt.h
parentd9a124c4ea54ff065853f43a056670ecf14e523d (diff)
downloadpx4-nuttx-08f9be9b748dfa310b3150e0a931e3aa89c09eeb.tar.gz
px4-nuttx-08f9be9b748dfa310b3150e0a931e3aa89c09eeb.tar.bz2
px4-nuttx-08f9be9b748dfa310b3150e0a931e3aa89c09eeb.zip
APB0 and APB1 must be in same MMU section
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2921 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc313x/lpc313x_wdt.h')
-rwxr-xr-xnuttx/arch/arm/src/lpc313x/lpc313x_wdt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_wdt.h b/nuttx/arch/arm/src/lpc313x/lpc313x_wdt.h
index fd6e0f4e0..f3652bd73 100755
--- a/nuttx/arch/arm/src/lpc313x/lpc313x_wdt.h
+++ b/nuttx/arch/arm/src/lpc313x/lpc313x_wdt.h
@@ -1,7 +1,7 @@
/************************************************************************************************
* arch/arm/src/lpc313x/lpc313x_wdt.h
*
- * Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -49,8 +49,8 @@
/* WDT register base address offset into the APB0 domain ****************************************/
-#define LPC313X_WDT_VBASE (LPC313X_APB0_VSECTION+LPC313X_APB0_WDT_OFFSET)
-#define LPC313X_WDT_PBASE (LPC313X_APB0_PSECTION+LPC313X_APB0_WDT_OFFSET)
+#define LPC313X_WDT_VBASE (LPC313X_APB0_VADDR+LPC313X_APB0_WDT_OFFSET)
+#define LPC313X_WDT_PBASE (LPC313X_APB0_PADDR+LPC313X_APB0_WDT_OFFSET)
/* WDT register offsets (with respect to the WDT base) ******************************************/