From 1fadc3dc725734f5626c8dccb3285d46cd88d14f Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 26 Jun 2012 18:58:52 +0000 Subject: [PATCH] Mirtoo: Switch to SPI mode 1 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4872 42af7a65-404d-4744-a932-0658087f49c3 --- configs/mirtoo/README.txt | 14 ++++++++++++++ configs/mirtoo/nsh/defconfig | 4 ++-- configs/mirtoo/nxffs/defconfig | 6 +++--- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/configs/mirtoo/README.txt b/configs/mirtoo/README.txt index e415db3a7b..7867dad3f6 100644 --- a/configs/mirtoo/README.txt +++ b/configs/mirtoo/README.txt @@ -865,3 +865,17 @@ Where is one of the following: CONFIG_NSH_DISABLE_SH=y CONFIG_NSH_DISABLE_TEST=y CONFIG_NSH_DISABLE_WGET=y + + NOTES: (1) It takes many seconds to boot the sytem using the NXFFS + file system because the entire FLASH must be verified on power up. + (2) FAT does not have this delay and this configuration can be + modified to use the (larger) FAT file system as described below: + + fat: + There is no FAT configuration, but the nxffx configuration can be used + to support the FAT FS if the following changes are made to the NuttX + configuration file: + + CONFIG_FS_NXFFS=n + CONFIG_FS_FAT=y + CONFIG_NSH_DISABLE_MKFATFS=n diff --git a/configs/mirtoo/nsh/defconfig b/configs/mirtoo/nsh/defconfig index 262d5bd709..a96ccbc14d 100644 --- a/configs/mirtoo/nsh/defconfig +++ b/configs/mirtoo/nsh/defconfig @@ -169,8 +169,8 @@ CONFIG_PIC32MX_IOPORTC=y # Mirtoo Board Settings # CONFIG_MTD_SST25=n -#CONFIG_SST25_SPIMODE -#CONFIG_SST25_SPIFREQUENCY +CONFIG_SST25_SPIMODE=1 +CONFIG_SST25_SPIFREQUENCY=20000000 CONFIG_SST25_SECTOR512=n # diff --git a/configs/mirtoo/nxffs/defconfig b/configs/mirtoo/nxffs/defconfig index 7e1634c4f0..8073dd8289 100644 --- a/configs/mirtoo/nxffs/defconfig +++ b/configs/mirtoo/nxffs/defconfig @@ -169,9 +169,9 @@ CONFIG_PIC32MX_IOPORTC=y # Mirtoo Board Settings # CONFIG_MTD_SST25=y -#CONFIG_SST25_SPIMODE -#CONFIG_SST25_SPIFREQUENCY -CONFIG_SST25_SECTOR512=y +CONFIG_SST25_SPIMODE=1 +CONFIG_SST25_SPIFREQUENCY=20000000 +CONFIG_SST25_SECTOR512=n # # PIC32MX Configuration Settings