summaryrefslogtreecommitdiff
path: root/nuttx/configs/lm3s6965-ek/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-09 18:15:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-09 18:15:02 +0000
commit4a6b5ec135f4a952fbe23640c01b9b0f3f90bf2b (patch)
tree1b4d1241dd040eb89cb7451ba59448a0ca600797 /nuttx/configs/lm3s6965-ek/include
parent25f65f6524fe5c6508de38300796e1183051ab3b (diff)
downloadpx4-nuttx-4a6b5ec135f4a952fbe23640c01b9b0f3f90bf2b.tar.gz
px4-nuttx-4a6b5ec135f4a952fbe23640c01b9b0f3f90bf2b.tar.bz2
px4-nuttx-4a6b5ec135f4a952fbe23640c01b9b0f3f90bf2b.zip
Change naming of all Stellaris pre-processor symbols from LM3S_ to LM_ to make room in the namespace for LM4F
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5498 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/lm3s6965-ek/include')
-rw-r--r--nuttx/configs/lm3s6965-ek/include/board.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/lm3s6965-ek/include/board.h b/nuttx/configs/lm3s6965-ek/include/board.h
index 808d009cc..112c40b7a 100644
--- a/nuttx/configs/lm3s6965-ek/include/board.h
+++ b/nuttx/configs/lm3s6965-ek/include/board.h
@@ -63,7 +63,7 @@
* of (400 / 2) / 4 = 50MHz
*/
-#define LM3S_SYSDIV 4
+#define LM_SYSDIV 4
#define SYSCLK_FREQUENCY 50000000 /* 50MHz */
/* Other RCC settings:
@@ -74,7 +74,7 @@
* - No auto-clock gating reset
*/
-#define LM3S_RCC_VALUE (SYSCON_RCC_OSCSRC | SYSCON_RCC_XTAL | SYSCON_RCC_USESYSDIV | SYSCON_RCC_SYSDIV(LM3S_SYSDIV))
+#define LM_RCC_VALUE (SYSCON_RCC_OSCSRC | SYSCON_RCC_XTAL | SYSCON_RCC_USESYSDIV | SYSCON_RCC_SYSDIV(LM_SYSDIV))
/* RCC2 settings -- RCC2 not used. Other RCC2 settings
*
@@ -83,7 +83,7 @@
* - Not using RCC2
*/
-#define LM3S_RCC2_VALUE (SYSCON_RCC2_OSCSRC | SYSCON_RCC2_SYSDIV(LM3S_SYSDIV))
+#define LM_RCC2_VALUE (SYSCON_RCC2_OSCSRC | SYSCON_RCC2_SYSDIV(LM_SYSDIV))
/* LED definitions ******************************************************************/
@@ -115,9 +115,9 @@
* Name: lm_boardinitialize
*
* Description:
- * All LM3S architectures must provide the following entry point. This entry point
- * is called early in the intitialization -- after all memory has been configured
- * and mapped but before any devices have been initialized.
+ * All Stellaris architectures must provide the following entry point. This entry
+ * point is called early in the intitialization -- after all memory has been
+ * configured and mapped but before any devices have been initialized.
*
************************************************************************************/