diff --git a/configs/spresense/lcd/defconfig b/configs/spresense/lcd/defconfig index 085629160a..098c329a5b 100644 --- a/configs/spresense/lcd/defconfig +++ b/configs/spresense/lcd/defconfig @@ -8,6 +8,7 @@ # CONFIG_CXD56_I2C0_SCUSEQ is not set # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set # CONFIG_MMCSD_SPI is not set +# CONFIG_MTD_SMART_WEAR_LEVEL is not set # CONFIG_STANDARD_SERIAL is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="spresense" @@ -44,6 +45,7 @@ CONFIG_FAT_MAXFNAME=64 CONFIG_FS_FAT=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y +CONFIG_FS_SMARTFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y @@ -54,6 +56,11 @@ CONFIG_MAX_TASKS=16 CONFIG_MAX_WDOGPARMS=2 CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y +CONFIG_MTD_BYTE_WRITE=y +CONFIG_MTD_PARTITION=y +CONFIG_MTD_SMART=y +CONFIG_MTD_SMART_ENABLE_CRC=y +CONFIG_MTD_SMART_SECTOR_SIZE=4096 CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 CONFIG_NSH_ARCHINIT=y @@ -70,6 +77,9 @@ CONFIG_RTC=y CONFIG_RTC_DRIVER=y CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y +CONFIG_SMARTFS_ALIGNED_ACCESS=y +CONFIG_SMARTFS_MAXNAMLEN=30 +CONFIG_SMARTFS_MULTI_ROOT_DIRS=y CONFIG_SPI=y CONFIG_START_DAY=6 CONFIG_START_MONTH=12 @@ -88,4 +98,4 @@ CONFIG_USBDEV_DUALSPEED=y CONFIG_USBMSC=y CONFIG_USBMSC_COMPOSITE=y CONFIG_USBMSC_REMOVABLE=y -CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USER_ENTRYPOINT="spresense_main" diff --git a/configs/spresense/mpy/defconfig b/configs/spresense/mpy/defconfig index 3b43d45356..907f138f17 100644 --- a/configs/spresense/mpy/defconfig +++ b/configs/spresense/mpy/defconfig @@ -8,6 +8,7 @@ # CONFIG_CXD56_I2C0_SCUSEQ is not set # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set # CONFIG_MMCSD_SPI is not set +# CONFIG_MTD_SMART_WEAR_LEVEL is not set # CONFIG_STANDARD_SERIAL is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="spresense" @@ -47,6 +48,7 @@ CONFIG_FAT_MAXFNAME=64 CONFIG_FS_FAT=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y +CONFIG_FS_SMARTFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y @@ -54,6 +56,11 @@ CONFIG_MAX_TASKS=16 CONFIG_MAX_WDOGPARMS=2 CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y +CONFIG_MTD_BYTE_WRITE=y +CONFIG_MTD_PARTITION=y +CONFIG_MTD_SMART=y +CONFIG_MTD_SMART_ENABLE_CRC=y +CONFIG_MTD_SMART_SECTOR_SIZE=4096 CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 CONFIG_NSH_ARCHINIT=y @@ -70,6 +77,9 @@ CONFIG_RTC=y CONFIG_RTC_DRIVER=y CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y +CONFIG_SMARTFS_ALIGNED_ACCESS=y +CONFIG_SMARTFS_MAXNAMLEN=30 +CONFIG_SMARTFS_MULTI_ROOT_DIRS=y CONFIG_SPI=y CONFIG_START_DAY=6 CONFIG_START_MONTH=12 @@ -85,4 +95,4 @@ CONFIG_USBDEV_DUALSPEED=y CONFIG_USBMSC=y CONFIG_USBMSC_EPBULKIN=1 CONFIG_USBMSC_REMOVABLE=y -CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USER_ENTRYPOINT="spresense_main" diff --git a/configs/spresense/nsh/defconfig b/configs/spresense/nsh/defconfig index 00d1a5fa3d..817108b5cd 100644 --- a/configs/spresense/nsh/defconfig +++ b/configs/spresense/nsh/defconfig @@ -56,4 +56,4 @@ CONFIG_SYSTEM_CLE=y CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_NSH_CXXINITIALIZE=y CONFIG_UART1_SERIAL_CONSOLE=y -CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USER_ENTRYPOINT="spresense_main" diff --git a/configs/spresense/rndis/defconfig b/configs/spresense/rndis/defconfig index 0d30d53328..ae335dee99 100644 --- a/configs/spresense/rndis/defconfig +++ b/configs/spresense/rndis/defconfig @@ -7,6 +7,7 @@ # # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set # CONFIG_MMCSD_SPI is not set +# CONFIG_MTD_SMART_WEAR_LEVEL is not set # CONFIG_STANDARD_SERIAL is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="spresense" @@ -35,6 +36,7 @@ CONFIG_FS_FAT=y CONFIG_FS_FATTIME=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y +CONFIG_FS_SMARTFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y @@ -68,6 +70,11 @@ CONFIG_NET_STATISTICS=y CONFIG_NET_TCP=y CONFIG_NET_UDP=y CONFIG_NET_UDP_BINDTODEVICE=y +CONFIG_MTD_BYTE_WRITE=y +CONFIG_MTD_PARTITION=y +CONFIG_MTD_SMART=y +CONFIG_MTD_SMART_ENABLE_CRC=y +CONFIG_MTD_SMART_SECTOR_SIZE=4096 CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 CONFIG_NSH_ARCHINIT=y @@ -88,6 +95,9 @@ CONFIG_RTC=y CONFIG_SCHED_LPWORK=y CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y +CONFIG_SMARTFS_ALIGNED_ACCESS=y +CONFIG_SMARTFS_MAXNAMLEN=30 +CONFIG_SMARTFS_MULTI_ROOT_DIRS=y CONFIG_SPI=y CONFIG_STACK_COLORATION=y CONFIG_START_DAY=16 @@ -102,4 +112,4 @@ CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_USBDEV=y CONFIG_USBDEV_DMA=y CONFIG_USBDEV_DUALSPEED=y -CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USER_ENTRYPOINT="spresense_main" diff --git a/configs/spresense/usbmsc/defconfig b/configs/spresense/usbmsc/defconfig index 0d97b6c680..4f71daeb5e 100644 --- a/configs/spresense/usbmsc/defconfig +++ b/configs/spresense/usbmsc/defconfig @@ -8,6 +8,7 @@ # CONFIG_CXD56_I2C0_SCUSEQ is not set # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set # CONFIG_MMCSD_SPI is not set +# CONFIG_MTD_SMART_WEAR_LEVEL is not set # CONFIG_STANDARD_SERIAL is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="spresense" @@ -42,6 +43,7 @@ CONFIG_FAT_MAXFNAME=64 CONFIG_FS_FAT=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y +CONFIG_FS_SMARTFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y @@ -49,6 +51,11 @@ CONFIG_MAX_TASKS=16 CONFIG_MAX_WDOGPARMS=2 CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y +CONFIG_MTD_BYTE_WRITE=y +CONFIG_MTD_PARTITION=y +CONFIG_MTD_SMART=y +CONFIG_MTD_SMART_ENABLE_CRC=y +CONFIG_MTD_SMART_SECTOR_SIZE=4096 CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 CONFIG_NSH_ARCHINIT=y @@ -65,6 +72,9 @@ CONFIG_RTC=y CONFIG_RTC_DRIVER=y CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y +CONFIG_SMARTFS_ALIGNED_ACCESS=y +CONFIG_SMARTFS_MAXNAMLEN=30 +CONFIG_SMARTFS_MULTI_ROOT_DIRS=y CONFIG_SPI=y CONFIG_START_DAY=6 CONFIG_START_MONTH=12 @@ -83,4 +93,4 @@ CONFIG_USBDEV_DUALSPEED=y CONFIG_USBMSC=y CONFIG_USBMSC_COMPOSITE=y CONFIG_USBMSC_REMOVABLE=y -CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USER_ENTRYPOINT="spresense_main" diff --git a/configs/spresense/usbnsh/defconfig b/configs/spresense/usbnsh/defconfig index ddb4b5ac21..f7df5d4034 100644 --- a/configs/spresense/usbnsh/defconfig +++ b/configs/spresense/usbnsh/defconfig @@ -8,6 +8,7 @@ # CONFIG_CXD56_I2C0_SCUSEQ is not set # CONFIG_MMCSD_HAVE_WRITEPROTECT is not set # CONFIG_MMCSD_SPI is not set +# CONFIG_MTD_SMART_WEAR_LEVEL is not set # CONFIG_STANDARD_SERIAL is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="spresense" @@ -35,6 +36,7 @@ CONFIG_FAT_MAXFNAME=64 CONFIG_FS_FAT=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y +CONFIG_FS_SMARTFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2C=y @@ -42,6 +44,11 @@ CONFIG_MAX_TASKS=16 CONFIG_MAX_WDOGPARMS=2 CONFIG_MMCSD=y CONFIG_MMCSD_SDIO=y +CONFIG_MTD_BYTE_WRITE=y +CONFIG_MTD_PARTITION=y +CONFIG_MTD_SMART=y +CONFIG_MTD_SMART_ENABLE_CRC=y +CONFIG_MTD_SMART_SECTOR_SIZE=4096 CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 CONFIG_NSH_ARCHINIT=y @@ -58,6 +65,9 @@ CONFIG_RTC=y CONFIG_RTC_DRIVER=y CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y +CONFIG_SMARTFS_ALIGNED_ACCESS=y +CONFIG_SMARTFS_MAXNAMLEN=30 +CONFIG_SMARTFS_MULTI_ROOT_DIRS=y CONFIG_SPI=y CONFIG_START_DAY=6 CONFIG_START_MONTH=12 @@ -73,4 +83,4 @@ CONFIG_USBDEV_DUALSPEED=y CONFIG_USBMSC=y CONFIG_USBMSC_EPBULKIN=1 CONFIG_USBMSC_REMOVABLE=y -CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USER_ENTRYPOINT="spresense_main" diff --git a/configs/spresense/wifi/defconfig b/configs/spresense/wifi/defconfig index b3bfef0baa..9339db6af9 100644 --- a/configs/spresense/wifi/defconfig +++ b/configs/spresense/wifi/defconfig @@ -85,6 +85,9 @@ CONFIG_SCHED_LPWORK=y CONFIG_SCHED_LPWORKPRIORITY=30 CONFIG_SCHED_WAITPID=y CONFIG_SDCLONE_DISABLE=y +CONFIG_SMARTFS_ALIGNED_ACCESS=y +CONFIG_SMARTFS_MAXNAMLEN=30 +CONFIG_SMARTFS_MULTI_ROOT_DIRS=y CONFIG_STACK_COLORATION=y CONFIG_START_DAY=16 CONFIG_START_MONTH=7 @@ -100,7 +103,7 @@ CONFIG_USBDEV_DUALSPEED=y CONFIG_USBMSC=y CONFIG_USBMSC_EPBULKIN=1 CONFIG_USBMSC_REMOVABLE=y -CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_USER_ENTRYPOINT="spresense_main" CONFIG_WIRELESS_GS2200M=y CONFIG_WL_GS2200M=y CONFIG_WL_GS2200M_SPI_FREQUENCY=10000000