You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use existing base configuration, e.g., ./tools/configure.sh raspberrypi-pico-w:nsh-flash
or set the following in menuconfig to create a flash system on Pi Pico
Select RP2040_FLASH_FILE_SYSTEM (Configure a read/write filesystem on unused flash memory)
set MTD_SMART_SECTOR_SIZE to a non-1K value, e.g., 512
Notice that no matter what value is set to MTD_SMART_SECTOR_SIZE, after created file system, block size is always 1024, so some parameters used in file system creation are hard-coded.
Also note that selecting RP2040_FLASH_FILE_SYSTEM will automatically select SmartFS.
NuttShell (NSH) NuttX-12.7.0-RC0
nsh> cd /flash
nsh> ls
/flash:
test
nsh> df .
Block Number
Size Blocks Used Available Mounted on
1024 1468 11 1457 /flash
0 0 0 0 /proc
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Windows 11 WSL2 Ubuntu 22.04.2
NuttX Version
NuttX 12.7.0-RC0 0976258-dirty Oct 4 2024 22:58:36 arm rasp
Issue Architecture
[Arch: arm]
Issue Area
[Area: File System]
Verification
I have verified before submitting the report.
The text was updated successfully, but these errors were encountered:
Description / Steps to reproduce the issue
Use existing base configuration, e.g., ./tools/configure.sh raspberrypi-pico-w:nsh-flash
or set the following in menuconfig to create a flash system on Pi Pico
Select RP2040_FLASH_FILE_SYSTEM (Configure a read/write filesystem on unused flash memory)
set MTD_SMART_SECTOR_SIZE to a non-1K value, e.g., 512
Notice that no matter what value is set to MTD_SMART_SECTOR_SIZE, after created file system, block size is always 1024, so some parameters used in file system creation are hard-coded.
Also note that selecting RP2040_FLASH_FILE_SYSTEM will automatically select SmartFS.
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Windows 11 WSL2 Ubuntu 22.04.2
NuttX Version
NuttX 12.7.0-RC0 0976258-dirty Oct 4 2024 22:58:36 arm rasp
Issue Architecture
[Arch: arm]
Issue Area
[Area: File System]
Verification
The text was updated successfully, but these errors were encountered: