Skip to content

Request to update documentation for clarity #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@ git clone --recurse-submodules https://github.com/raspberrypi/pico-sdk
export PICO_SDK_PATH="~/pico-sdk"
```

## Download the EdgeImpulse firmware
```bash
git clone --recurse-submodules https://github.com/edgeimpulse/firmware-pi-rp2040
```

## Building the application
Then from the firmware folder execute:
```bash
cd firmware-pi-rp2040
mkdir build && cd build
cmake ..
make -j4
Expand All @@ -50,6 +56,17 @@ cmake .. -DDEFINE_DEBUG=ON
make -j4
```

## Building for the Nano RP2040 Connect
```bash
cmake -DPICO_BOARD=arduino_nano_rp2040_connect ..
make -j4
```

## Building for different boards
If you need to build firmware for other boards, follow the instructions for building different boards at github.com/raspberrypi/pico-sdk

## Flashing firmware

The fastest method to load firmware onto a RP2040-based board for the first time is by mounting it as a USB Mass
Storage Device. Doing this allows you to drag a file onto the board to program the flash. Go ahead and connect the
Raspberry Pi Pico to your computer using a micro-USB cable, making sure that you hold down the BOOTSEL button as you do so, to force it into USB Mass Storage Mode. Drag the ei_rp2040_firmware.uf2 file from build folder to newly appeared USB Mass Storage device.
Expand Down