Sample project: how to use SD card with raspberry pico-sdk
- Linux or Windows 10 PC with WSL (Windows Subsystem Linux) - Ubuntu is recommended;
- Visual Studio Code with the following Microsoft extensions:
- RaspberryPi Pico;
- MicroSD to SD card adapter (for easy soldering);
- MicroSD card;
- Some nice wires (30 AWG recommended);
- 2 x 10K resistors (for pull-up);
- 1 x 10uF capacitor (for decoupling);
Soon...
- Start a Linux terminal (on windows, just open the
command prompt
and typewsl
); - Install the build system, running the following command on terminal:
sudo apt update
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential libstdc++-arm-none-eabi-newlib
- Download the repository with it's dependencies:
git clone --recurse-submodules --shallow-submodules https://github.com/juliannojungle/pico-sdk-sdcard.git
- Open the project folder in vscode, click on the 'no kit selected' on status bar, select
GCC arm-none-eabi
build kit, then click onBuild
(right next to it);
*.uf2
file will be written at build
directory. Just copy it to the raspberry pico's usb drive.
@juliannojungle, 2023