From 286f7c617e92abf433ef2e86bcec0bdc4ad4f1fd Mon Sep 17 00:00:00 2001 From: claytonkimber Date: Fri, 17 Feb 2023 19:54:10 +0000 Subject: [PATCH 1/2] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 1456503..28fc144 100644 --- a/README.md +++ b/README.md @@ -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 @@ -50,6 +56,15 @@ 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 + 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. From 89bca39e418e540884201e9613284699932c7d4a Mon Sep 17 00:00:00 2001 From: claytonkimber Date: Fri, 17 Feb 2023 19:55:16 +0000 Subject: [PATCH 2/2] Update README.md additional update --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 28fc144..e26b4c0 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,8 @@ 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.