From 876ffbd29fcd090094da7be50a9b2f26bb1bab02 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 13 Jul 2012 16:28:49 +0000 Subject: [PATCH] Calibrate lpc4330-xplorer delay loops git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4939 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- 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 1ed429e907..1c1c257c3c 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 4bb270bb88..edd7406c50 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 77467af7a4..1dca0cc37b 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)