The Raspberry Pi Pico comes with 2 MByte FLASH. If more is needed for example to store data or for a data logger, this article shows how it can be extended with a 16 MByte serial flash using the LittleFS file system.
Raspberry Pi Pico and rp2040 boards: integrated LittleFS
Raspberry Pi Pico and rp2040 boards: integrated LittleFS
Set up your Raspberry Pi Pico W
Raspberry Pi Pico File System & SD Card Reader
The Raspberry Pi Pico W brings WiFi for $6
Getting Started with Raspberry Pi Pico W – The Richardson Wireless
Expand Your Raspberry Pi Pico's Memory by Adding a microSD Card
BLE with WiFi and FreeRTOS on Raspberry Pi Pico-W