RP2040 pico can read LittleFS files but unable to create or write to files

  1. Make sure your platform is up-to-date. Do so e.g. by opening a CLI and executing pio pkg update -g -p raspberrypi
  2. Increase the filesystem size to say 1.0m and upload arduino-pico/libraries/LittleFS/examples/SpeedTest/SpeedTest.ino at master · earlephilhower/arduino-pico · GitHub as the sketch. Does it report a write speed?