You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/22 13:24:17 UTC
[incubator-nuttx] 01/12: boards/: Remove references to
CONFIG_FS_WRITABLE
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit f7e11fb2a60f1fe3949c6f394d073a9c66519b93
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Sat Mar 21 10:02:20 2020 -0600
boards/: Remove references to CONFIG_FS_WRITABLE
Remove references from defconfig files, README.txt files and a couple of uses in .c files
---
boards/arm/lc823450/lc823450-xgevk/configs/elf/defconfig | 1 -
boards/arm/lc823450/lc823450-xgevk/configs/knsh/defconfig | 1 -
boards/arm/lc823450/lc823450-xgevk/configs/nsh/defconfig | 1 -
boards/arm/lc823450/lc823450-xgevk/configs/posix_spawn/defconfig | 1 -
boards/arm/stm32/clicker2-stm32/configs/knsh/defconfig | 1 -
boards/arm/stm32/stm32f103-minimum/README.txt | 2 --
boards/arm/stm32/stm32f103-minimum/configs/nsh/defconfig | 1 -
boards/arm/stm32l4/stm32l476vg-disco/src/stm32_appinit.c | 8 --------
boards/boardctl.c | 5 +----
boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig | 1 -
boards/risc-v/gap8/gapuino/configs/nsh/defconfig | 1 -
boards/risc-v/litex/arty_a7/configs/nsh/defconfig | 1 -
boards/risc-v/nr5m100/nr5m100-nexys4/configs/nsh/defconfig | 1 -
boards/z80/ez80/z20x/configs/w25boot/defconfig | 1 -
14 files changed, 1 insertion(+), 25 deletions(-)
diff --git a/boards/arm/lc823450/lc823450-xgevk/configs/elf/defconfig b/boards/arm/lc823450/lc823450-xgevk/configs/elf/defconfig
index e4932c0..5c48047 100644
--- a/boards/arm/lc823450/lc823450-xgevk/configs/elf/defconfig
+++ b/boards/arm/lc823450/lc823450-xgevk/configs/elf/defconfig
@@ -26,7 +26,6 @@ CONFIG_ELF=y
CONFIG_EXAMPLES_ELF=y
CONFIG_FS_PROCFS=y
CONFIG_FS_ROMFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_HAVE_CXX=y
CONFIG_INTELHEX_BINARY=y
CONFIG_LC823450_UART0=y
diff --git a/boards/arm/lc823450/lc823450-xgevk/configs/knsh/defconfig b/boards/arm/lc823450/lc823450-xgevk/configs/knsh/defconfig
index 08f0463..4dfca9a 100644
--- a/boards/arm/lc823450/lc823450-xgevk/configs/knsh/defconfig
+++ b/boards/arm/lc823450/lc823450-xgevk/configs/knsh/defconfig
@@ -30,7 +30,6 @@ CONFIG_DEBUG_SYMBOLS=y
CONFIG_DEV_ZERO=y
CONFIG_DISABLE_POSIX_TIMERS=y
CONFIG_FS_PROCFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_HRT_TIMER=y
CONFIG_I2C=y
CONFIG_I2CTOOL_MAXBUS=1
diff --git a/boards/arm/lc823450/lc823450-xgevk/configs/nsh/defconfig b/boards/arm/lc823450/lc823450-xgevk/configs/nsh/defconfig
index b00348a..3fd55c5 100644
--- a/boards/arm/lc823450/lc823450-xgevk/configs/nsh/defconfig
+++ b/boards/arm/lc823450/lc823450-xgevk/configs/nsh/defconfig
@@ -37,7 +37,6 @@ CONFIG_EXAMPLES_NXHELLO_BPP=1
CONFIG_EXAMPLES_PIPE=y
CONFIG_EXAMPLES_WATCHDOG=y
CONFIG_FS_PROCFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_HRT_TIMER=y
CONFIG_I2C=y
CONFIG_I2CTOOL_MAXBUS=1
diff --git a/boards/arm/lc823450/lc823450-xgevk/configs/posix_spawn/defconfig b/boards/arm/lc823450/lc823450-xgevk/configs/posix_spawn/defconfig
index c01aae4..4f23e3b 100644
--- a/boards/arm/lc823450/lc823450-xgevk/configs/posix_spawn/defconfig
+++ b/boards/arm/lc823450/lc823450-xgevk/configs/posix_spawn/defconfig
@@ -25,7 +25,6 @@ CONFIG_ELF=y
CONFIG_EXAMPLES_POSIXSPAWN=y
CONFIG_FS_PROCFS=y
CONFIG_FS_ROMFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_INTELHEX_BINARY=y
CONFIG_LC823450_UART0=y
CONFIG_LIBC_EXECFUNCS=y
diff --git a/boards/arm/stm32/clicker2-stm32/configs/knsh/defconfig b/boards/arm/stm32/clicker2-stm32/configs/knsh/defconfig
index f2b1f74..9dfd07f 100644
--- a/boards/arm/stm32/clicker2-stm32/configs/knsh/defconfig
+++ b/boards/arm/stm32/clicker2-stm32/configs/knsh/defconfig
@@ -19,7 +19,6 @@ CONFIG_BOARD_LATE_INITIALIZE=y
CONFIG_BOARD_LOOPSPERMSEC=16717
CONFIG_BUILD_PROTECTED=y
CONFIG_FS_PROCFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_HAVE_CXX=y
CONFIG_HAVE_CXXINITIALIZE=y
CONFIG_INTELHEX_BINARY=y
diff --git a/boards/arm/stm32/stm32f103-minimum/README.txt b/boards/arm/stm32/stm32f103-minimum/README.txt
index c59cb36..bf5b147 100644
--- a/boards/arm/stm32/stm32f103-minimum/README.txt
+++ b/boards/arm/stm32/stm32f103-minimum/README.txt
@@ -412,8 +412,6 @@ SDCard support:
CONFIG_FS_FAT=y
- CONFIG_FS_WRITABLE=y
-
CONFIG_MMCSD=y
CONFIG_MMCSD_NSLOTS=1
CONFIG_MMCSD_SPI=y
diff --git a/boards/arm/stm32/stm32f103-minimum/configs/nsh/defconfig b/boards/arm/stm32/stm32f103-minimum/configs/nsh/defconfig
index 2f2b388..4bed7e9 100644
--- a/boards/arm/stm32/stm32f103-minimum/configs/nsh/defconfig
+++ b/boards/arm/stm32/stm32f103-minimum/configs/nsh/defconfig
@@ -26,7 +26,6 @@ CONFIG_ARCH_STACKDUMP=y
CONFIG_BOARD_LOOPSPERMSEC=5483
CONFIG_BUILTIN=y
CONFIG_DEFAULT_SMALL=y
-CONFIG_FS_WRITABLE=y
CONFIG_MAX_TASKS=16
CONFIG_MAX_WDOGPARMS=2
CONFIG_NFILE_DESCRIPTORS=8
diff --git a/boards/arm/stm32l4/stm32l476vg-disco/src/stm32_appinit.c b/boards/arm/stm32l4/stm32l476vg-disco/src/stm32_appinit.c
index abaa91d..8abe7db 100644
--- a/boards/arm/stm32l4/stm32l476vg-disco/src/stm32_appinit.c
+++ b/boards/arm/stm32l4/stm32l476vg-disco/src/stm32_appinit.c
@@ -271,14 +271,6 @@ FAR struct mtd_dev_s *mtd_temp;
/* Now create a character device on the block device */
- /* NOTE: for this to work, you will need to make sure that
- * CONFIG_FS_WRITABLE is set in the config. It's not a user-
- * visible setting, but you can make it set by selecting an
- * arbitrary writable file system (you don't have to actually
- * use it, just select it so that the block device created via
- * ftl_initialize() will be writable).
- */
-
ret = bchdev_register(blockdev, chardev, false);
if (ret < 0)
{
diff --git a/boards/boardctl.c b/boards/boardctl.c
index c961132..cded6c4 100644
--- a/boards/boardctl.c
+++ b/boards/boardctl.c
@@ -48,10 +48,7 @@
#include <nuttx/board.h>
#include <nuttx/lib/modlib.h>
#include <nuttx/binfmt/symtab.h>
-
-#ifdef CONFIG_FS_WRITABLE
-# include <nuttx/drivers/ramdisk.h>
-#endif
+#include <nuttx/drivers/ramdisk.h>
#ifdef CONFIG_NX
# include <nuttx/nx/nxmu.h>
diff --git a/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig b/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig
index 837201e..c89b818 100644
--- a/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig
+++ b/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig
@@ -38,7 +38,6 @@ CONFIG_EXAMPLES_BUTTONS_STACKSIZE=1024
CONFIG_EXAMPLES_HELLO=y
CONFIG_EXAMPLES_HELLO_STACKSIZE=1024
CONFIG_FS_PROCFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_IDLETHREAD_STACKSIZE=1536
CONFIG_INPUT=y
CONFIG_INTELHEX_BINARY=y
diff --git a/boards/risc-v/gap8/gapuino/configs/nsh/defconfig b/boards/risc-v/gap8/gapuino/configs/nsh/defconfig
index 8e2c856..63a6685 100644
--- a/boards/risc-v/gap8/gapuino/configs/nsh/defconfig
+++ b/boards/risc-v/gap8/gapuino/configs/nsh/defconfig
@@ -20,7 +20,6 @@ CONFIG_DEBUG_FULLOPT=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DEV_ZERO=y
CONFIG_FS_PROCFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INTELHEX_BINARY=y
CONFIG_LIBC_PERROR_STDOUT=y
diff --git a/boards/risc-v/litex/arty_a7/configs/nsh/defconfig b/boards/risc-v/litex/arty_a7/configs/nsh/defconfig
index 09fd4f1..3867bf8 100644
--- a/boards/risc-v/litex/arty_a7/configs/nsh/defconfig
+++ b/boards/risc-v/litex/arty_a7/configs/nsh/defconfig
@@ -28,7 +28,6 @@ CONFIG_DISABLE_MQUEUE=y
CONFIG_EXAMPLES_HELLO=y
CONFIG_EXAMPLES_HELLO_STACKSIZE=8192
CONFIG_FS_PROCFS=y
-CONFIG_FS_WRITABLE=y
CONFIG_IDLETHREAD_STACKSIZE=8192
CONFIG_INTELHEX_BINARY=y
CONFIG_LIBC_PERROR_STDOUT=y
diff --git a/boards/risc-v/nr5m100/nr5m100-nexys4/configs/nsh/defconfig b/boards/risc-v/nr5m100/nr5m100-nexys4/configs/nsh/defconfig
index 56f39bf..a3730e0 100644
--- a/boards/risc-v/nr5m100/nr5m100-nexys4/configs/nsh/defconfig
+++ b/boards/risc-v/nr5m100/nr5m100-nexys4/configs/nsh/defconfig
@@ -22,7 +22,6 @@ CONFIG_BUILTIN=y
CONFIG_DEBUG_FULLOPT=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DEV_ZERO=y
-CONFIG_FS_WRITABLE=y
CONFIG_HAVE_CXX=y
CONFIG_HAVE_CXXINITIALIZE=y
CONFIG_IDLETHREAD_STACKSIZE=2048
diff --git a/boards/z80/ez80/z20x/configs/w25boot/defconfig b/boards/z80/ez80/z20x/configs/w25boot/defconfig
index d4c1357..783fe0a 100644
--- a/boards/z80/ez80/z20x/configs/w25boot/defconfig
+++ b/boards/z80/ez80/z20x/configs/w25boot/defconfig
@@ -19,7 +19,6 @@ CONFIG_DISABLE_MQUEUE=y
CONFIG_DISABLE_PTHREAD=y
CONFIG_EZ80_SPI=y
CONFIG_EZ80_UART1=y
-CONFIG_FS_WRITABLE=y
CONFIG_HOST_WINDOWS=y
CONFIG_MAX_TASKS=8
CONFIG_MAX_WDOGPARMS=2