Mirtoo: Switch to SPI mode 1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4872 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
fccb3c1385
commit
1fadc3dc72
@ -865,3 +865,17 @@ Where <subdir> is one of the following:
|
|||||||
CONFIG_NSH_DISABLE_SH=y
|
CONFIG_NSH_DISABLE_SH=y
|
||||||
CONFIG_NSH_DISABLE_TEST=y
|
CONFIG_NSH_DISABLE_TEST=y
|
||||||
CONFIG_NSH_DISABLE_WGET=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
|
||||||
|
@ -169,8 +169,8 @@ CONFIG_PIC32MX_IOPORTC=y
|
|||||||
# Mirtoo Board Settings
|
# Mirtoo Board Settings
|
||||||
#
|
#
|
||||||
CONFIG_MTD_SST25=n
|
CONFIG_MTD_SST25=n
|
||||||
#CONFIG_SST25_SPIMODE
|
CONFIG_SST25_SPIMODE=1
|
||||||
#CONFIG_SST25_SPIFREQUENCY
|
CONFIG_SST25_SPIFREQUENCY=20000000
|
||||||
CONFIG_SST25_SECTOR512=n
|
CONFIG_SST25_SECTOR512=n
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -169,9 +169,9 @@ CONFIG_PIC32MX_IOPORTC=y
|
|||||||
# Mirtoo Board Settings
|
# Mirtoo Board Settings
|
||||||
#
|
#
|
||||||
CONFIG_MTD_SST25=y
|
CONFIG_MTD_SST25=y
|
||||||
#CONFIG_SST25_SPIMODE
|
CONFIG_SST25_SPIMODE=1
|
||||||
#CONFIG_SST25_SPIFREQUENCY
|
CONFIG_SST25_SPIFREQUENCY=20000000
|
||||||
CONFIG_SST25_SECTOR512=y
|
CONFIG_SST25_SECTOR512=n
|
||||||
|
|
||||||
#
|
#
|
||||||
# PIC32MX Configuration Settings
|
# PIC32MX Configuration Settings
|
||||||
|
Loading…
Reference in New Issue
Block a user