Skip to content

Commit 9811f13

Browse files
committed
Merge upstream
1 parent 673d327 commit 9811f13

File tree

8 files changed

+54
-76
lines changed

8 files changed

+54
-76
lines changed

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
os: [ubuntu-16.04, windows-latest, macos-latest]
10+
os: [ubuntu-18.04, windows-latest, macos-latest]
1111
python-version: [3.7]
1212
example:
1313
- "examples/arduino-blink"

builder/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,9 @@ def RebootPico(target, source, env):
284284
]
285285
elif upload_protocol == "picotool":
286286
env.Replace(
287-
UPLOADER='"%s"' % join(platform.get_package_dir("tool-rp2040tools") or "", "rp2040load"),
287+
UPLOADER=join(platform.get_package_dir("tool-rp2040tools") or "", "rp2040load"),
288288
UPLOADERFLAGS=["-v", "-D"],
289-
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCES"
289+
UPLOADCMD='"$UPLOADER" $UPLOADERFLAGS $SOURCES'
290290
)
291291

292292
if "uploadfs" in COMMAND_LINE_TARGETS:

examples/arduino-blink/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
How to build PlatformIO based project
2+
=====================================
3+
4+
1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
5+
2. Download [development platform with examples](https://github.com/platformio/platform-raspberrypi/archive/develop.zip)
6+
3. Extract ZIP archive
7+
4. Run these commands:
8+
9+
```shell
10+
# Change directory to example
11+
$ cd platform-raspberrypi/examples/arduino-blink
12+
13+
# Build project
14+
$ pio run
15+
16+
# Upload firmware
17+
$ pio run --target upload
18+
19+
# Clean build files
20+
$ pio run --target clean
21+
```

examples/arduino-blink/README.rst

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
How to build PlatformIO based project
2+
=====================================
3+
4+
1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
5+
2. Download [development platform with examples](https://github.com/platformio/platform-raspberrypi/archive/develop.zip)
6+
3. Extract ZIP archive
7+
4. Run these commands:
8+
9+
```shell
10+
# Change directory to example
11+
$ cd platform-raspberrypi/examples/arduino-external-libs
12+
13+
# Build project
14+
$ pio run
15+
16+
# Upload firmware
17+
$ pio run --target upload
18+
19+
# Build specific environment
20+
$ pio run -e pico
21+
22+
# Upload firmware for the specific environment
23+
$ pio run -e pico --target upload
24+
25+
# Clean build files
26+
$ pio run --target clean
27+
```

examples/arduino-external-libs/README.rst

Lines changed: 0 additions & 38 deletions
This file was deleted.

platform.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "git",
1919
"url": "https://github.com/platformio/platform-raspberrypi.git"
2020
},
21-
"version": "1.2.0",
21+
"version": "1.5.0",
2222
"frameworks": {
2323
"arduino": {
2424
"package": "framework-arduino-mbed",
@@ -41,7 +41,7 @@
4141
"type": "framework",
4242
"optional": true,
4343
"owner": "platformio",
44-
"version": "~2.4.0"
44+
"version": "~2.6.0"
4545
},
4646
"framework-arduinopico": {
4747
"type": "framework",

0 commit comments

Comments
 (0)