26 lines
682 B
Markdown
26 lines
682 B
Markdown
How to build PlatformIO based project
|
|
=====================================
|
|
|
|
1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html)
|
|
2. Download [development platform with examples](https://github.com/platformio/platform-raspberrypi/archive/develop.zip)
|
|
3. Extract ZIP archive
|
|
4. Run these commands:
|
|
|
|
```shell
|
|
# Change directory to example
|
|
$ cd platform-raspberrypi/examples/arduino-wifi-scan
|
|
|
|
# Build project
|
|
$ pio run
|
|
|
|
# Upload firmware
|
|
$ pio run --target upload
|
|
|
|
# Clean build files
|
|
$ pio run --target clean
|
|
```
|
|
|
|
## Notes
|
|
|
|
This example is only intended for the Raspberry Pi Pico W with the [Earle Philhower](https://github.com/earlephilhower/arduino-pico) core.
|