From d76fa866ad009d65396acf1aa08fcffd3b4b041e Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 13 Jul 2012 16:28:49 +0000 Subject: Calibrate lpc4330-xplorer delay loops git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4939 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/ChangeLog | 6 ++++++ nuttx/configs/lpc4330-xplorer/nsh/defconfig | 2 +- nuttx/configs/lpc4330-xplorer/ostest/defconfig | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 1ed429e90..1c1c257c3 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -2979,3 +2979,9 @@ 6.21 2012-xx-xx Gregory Nutt + * configs/lpc4330-xplorer/up_nsh.c: Add support for a basic SPIFI block + driver for use by NSH. Does not work! Crashes on first SPIFI write. + * configs/lpc4330-xplorer/*/defconfig: Calibrate delay loops (this is + based on the current "slow" 72MHz M4 clock and will need to be + re-calibrated when this is increased). + diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig index 4bb270bb8..edd7406c5 100644 --- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig +++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig @@ -81,7 +81,7 @@ CONFIG_ARCH_CHIP=lpc43xx CONFIG_ARCH_CHIP_LPC4330FET100=y CONFIG_ARCH_BOARD=lpc4330-xplorer CONFIG_ARCH_BOARD_LPC4330_XPLORER=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=7191 CONFIG_DRAM_SIZE=(72*1024) CONFIG_DRAM_START=0x10080000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig index 77467af7a..1dca0cc37 100644 --- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig +++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig @@ -81,7 +81,7 @@ CONFIG_ARCH_CHIP=lpc43xx CONFIG_ARCH_CHIP_LPC4330FET100=y CONFIG_ARCH_BOARD=lpc4330-xplorer CONFIG_ARCH_BOARD_LPC4330_XPLORER=y -CONFIG_BOARD_LOOPSPERMSEC=7982 +CONFIG_BOARD_LOOPSPERMSEC=7191 CONFIG_DRAM_SIZE=(72*1024) CONFIG_DRAM_START=0x10080000 CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE) -- cgit v1.2.3