2022-08-22 01:05:09 +02:00
..
2022-08-22 00:13:09 +02:00
2022-08-22 00:13:09 +02:00
2022-08-22 00:13:09 +02:00
2022-08-22 00:13:09 +02:00
2022-08-22 00:13:09 +02:00
2022-08-22 00:13:09 +02:00
2022-08-22 01:05:09 +02:00

How to build PlatformIO based project

  1. Install PlatformIO Core
  2. Download development platform with examples
  3. Extract ZIP archive
  4. Run these commands:
# Change directory to example
$ cd platform-raspberrypi/examples/arduino-ota

# Build project
$ pio run

# Upload firmware
$ pio run --target upload

# Clean build files
$ pio run --target clean

Notes

This examples showcases the usage of Over-The-Air (OTA) updates with the Raspberry Pi Pico W.

For more details, see the documentation.

For the initial firmware update, use the rpipicow_via_usb environment.

Then, open the serial monitor and note down the IP of the Pico that it outputs.

Use this IP as the upload_port in the rpipicow_via_ota environment and use the "Upload" project task there.