mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Fix all naming resulting from moving move all file system tests from apps/examples/ to apps/testing/ (fstest, nxffs, smart, smart_test).
This commit is contained in:
@@ -2196,7 +2196,7 @@ o File system / Generic drivers (fs/, drivers/)
|
|||||||
available on the FLASH. That would be rare with a cache
|
available on the FLASH. That would be rare with a cache
|
||||||
size of a few hundred bytes and very large serial FLASH.
|
size of a few hundred bytes and very large serial FLASH.
|
||||||
|
|
||||||
This issue does cause the test at apps/examples/fstest to
|
This issue does cause the test at apps/testing/fstest to
|
||||||
fail. That test fails with a "Partial Read" because the
|
fail. That test fails with a "Partial Read" because the
|
||||||
file being read is smaller than number bytes written to the
|
file being read is smaller than number bytes written to the
|
||||||
file. That test does write small files continuously until
|
file. That test does write small files continuously until
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ Contents
|
|||||||
o Serial Console
|
o Serial Console
|
||||||
o LEDs and Buttons
|
o LEDs and Buttons
|
||||||
o Version 1 or 2?
|
o Version 1 or 2?
|
||||||
|
o Running from SRAM
|
||||||
|
|
||||||
Status
|
Status
|
||||||
======
|
======
|
||||||
@@ -48,4 +49,16 @@ Version 1 or 2?
|
|||||||
firmware will assert if you select the wrong version. If that occurs,
|
firmware will assert if you select the wrong version. If that occurs,
|
||||||
switch to the other version and the assertion should go away.
|
switch to the other version and the assertion should go away.
|
||||||
|
|
||||||
|
Running from SRAM
|
||||||
|
=================
|
||||||
|
|
||||||
|
The LaunchXL-CC1312R1 port supports execution from RAM. Execution from
|
||||||
|
SRAM as a "safe" way to bring up a new board port without concern about
|
||||||
|
borking the board because of a bad FLASH image.
|
||||||
|
|
||||||
|
if CONFIG_BOOT_RUNFROMFLASH=y is set in the configuration, then the code
|
||||||
|
will build to run from FLASH. Otherwise (presumably CONFIG_BOOT_RUNFROMSRAM=y)
|
||||||
|
the code will build to run from SRAM. This is determined by the Make.defs
|
||||||
|
file in the scripts/ sub-directory. Based on those configuration
|
||||||
|
settings, either scripts/flash.ld or sram.ld will be selected as the
|
||||||
|
linker script file to be used.
|
||||||
|
|||||||
@@ -134,8 +134,8 @@
|
|||||||
# define CONFIG_RAMMTD_ERASESIZE 4096
|
# define CONFIG_RAMMTD_ERASESIZE 4096
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifndef CONFIG_EXAMPLES_SMART_NEBLOCKS
|
# ifndef CONFIG_TESTING_SMART_NEBLOCKS
|
||||||
# define CONFIG_EXAMPLES_SMART_NEBLOCKS (22)
|
# define CONFIG_TESTING_SMART_NEBLOCKS (22)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#ifdef CONFIG_MIKROE_RAMMTD
|
#ifdef CONFIG_MIKROE_RAMMTD
|
||||||
|
|||||||
@@ -785,7 +785,7 @@ nx11
|
|||||||
|
|
||||||
nxffs
|
nxffs
|
||||||
|
|
||||||
This is a test of the NXFFS file system using the apps/examples/nxffs
|
This is a test of the NXFFS file system using the apps/testing/nxffs
|
||||||
test with an MTD RAM driver to simulate the FLASH part.
|
test with an MTD RAM driver to simulate the FLASH part.
|
||||||
|
|
||||||
nxlines
|
nxlines
|
||||||
@@ -894,7 +894,7 @@ sixlowpan
|
|||||||
|
|
||||||
spiffs
|
spiffs
|
||||||
|
|
||||||
This is a test of the SPIFFS file system using the apps/examples/fstest
|
This is a test of the SPIFFS file system using the apps/testing/fstest
|
||||||
test with an MTD RAM driver to simulate the FLASH part.
|
test with an MTD RAM driver to simulate the FLASH part.
|
||||||
|
|
||||||
touchscreen
|
touchscreen
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ CONFIG_DISABLE_SIGNALS=y
|
|||||||
CONFIG_EXAMPLES_CONFIGDATA=y
|
CONFIG_EXAMPLES_CONFIGDATA=y
|
||||||
CONFIG_EXAMPLES_CONFIGDATA_NLOOPS=10000
|
CONFIG_EXAMPLES_CONFIGDATA_NLOOPS=10000
|
||||||
CONFIG_EXAMPLES_CONFIGDATA_SILENT=y
|
CONFIG_EXAMPLES_CONFIGDATA_SILENT=y
|
||||||
CONFIG_EXAMPLES_NXFFS=y
|
CONFIG_TESTING_NXFFS=y
|
||||||
CONFIG_FS_FAT=y
|
CONFIG_FS_FAT=y
|
||||||
CONFIG_FS_NXFFS=y
|
CONFIG_FS_NXFFS=y
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=4096
|
CONFIG_IDLETHREAD_STACKSIZE=4096
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ CONFIG_DISABLE_POLL=y
|
|||||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||||
CONFIG_DISABLE_PTHREAD=y
|
CONFIG_DISABLE_PTHREAD=y
|
||||||
CONFIG_DISABLE_SIGNALS=y
|
CONFIG_DISABLE_SIGNALS=y
|
||||||
CONFIG_EXAMPLES_NXFFS=y
|
CONFIG_TESTING_NXFFS=y
|
||||||
CONFIG_FS_FAT=y
|
CONFIG_FS_FAT=y
|
||||||
CONFIG_FS_NXFFS=y
|
CONFIG_FS_NXFFS=y
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=4096
|
CONFIG_IDLETHREAD_STACKSIZE=4096
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ CONFIG_DISABLE_POLL=y
|
|||||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||||
CONFIG_DISABLE_PTHREAD=y
|
CONFIG_DISABLE_PTHREAD=y
|
||||||
CONFIG_DISABLE_SIGNALS=y
|
CONFIG_DISABLE_SIGNALS=y
|
||||||
CONFIG_EXAMPLES_FSTEST=y
|
CONFIG_TESTING_FSTEST=y
|
||||||
CONFIG_EXAMPLES_FSTEST_MOUNTPT="/mnt/spiffs"
|
CONFIG_TESTING_FSTEST_MOUNTPT="/mnt/spiffs"
|
||||||
CONFIG_EXAMPLES_FSTEST_NLOOPS=10
|
CONFIG_TESTING_FSTEST_NLOOPS=10
|
||||||
CONFIG_EXAMPLES_FSTEST_STACKSIZE=8192
|
CONFIG_TESTING_FSTEST_STACKSIZE=8192
|
||||||
CONFIG_FS_SPIFFS=y
|
CONFIG_FS_SPIFFS=y
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=4096
|
CONFIG_IDLETHREAD_STACKSIZE=4096
|
||||||
CONFIG_LIB_RAND_ORDER=3
|
CONFIG_LIB_RAND_ORDER=3
|
||||||
|
|||||||
Reference in New Issue
Block a user