takumiando opened a new issue, #11444:
URL: https://github.com/apache/nuttx/issues/11444
## Description
```mv``` command hangs up at SMARTFS on internal flash memory.
## Version
- ```nuttx-12.3.0```
## Patch
I applied this patch to use ```usbnsh``` config with flash file system.
``` patch
diff --git a/boards/arm/rp2040/raspberrypi-pico-w/configs/usbnsh/defconfig
b/boards/arm/rp2040/raspberrypi-pico-w/configs/usbnsh/defconfig
index f49cf6b8ba..fdda8f63d1 100644
--- a/boards/arm/rp2040/raspberrypi-pico-w/configs/usbnsh/defconfig
+++ b/boards/arm/rp2040/raspberrypi-pico-w/configs/usbnsh/defconfig
@@ -49,3 +49,5 @@ CONFIG_TESTING_GETPRIME=y
CONFIG_TESTING_OSTEST=y
CONFIG_USBDEV=y
CONFIG_USBDEV_BUSPOWERED=y
+CONFIG_RP2040_FLASH_FILE_SYSTEM=y
+CONFIG_SMARTFS_ALIGNED_ACCESS=y
```
## Build
``` shell
$ ./tools/configure.sh raspberrypi-pico-w/usbnsh
$ make
```
## Run ```mv```
``` shell
NuttShell (NSH) NuttX-12.3.0
nsh> cd /flash
nsh> ls
test
nsh> mv test test2
*** Hangs up here ***
```
I found that it hangs up at ```smartfs_rename()```, but I couldn't research
more than that...
The functions that uses ```smartfs_rename()``` may have same issue (only at
this chip?).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]