You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pico-blink-sdk/README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,11 @@ This example demonstrates how to integrate with the Pico SDK which is using CMak
20
20
21
21
- Make sure you have a recent nightly Swift toolchain that has Embedded Swift support.
22
22
- Build and copy the program in the UF2 format to the Mass Storage device to trigger flashing the program into memory (after which the device will reboot and run the firmware):
23
+
- (determining your toolchain identifier is step 5 in this [matter tutorial](https://apple.github.io/swift-matter-examples/tutorials/swiftmatterexamples/setup-macos/))
24
+
23
25
```console
24
26
$ cd pico-blink-sdk
25
-
$ export TOOLCHAINS='<toolchain-name>'
27
+
$ export TOOLCHAINS='<toolchain-identifier>'
26
28
$ export PICO_BOARD=pico
27
29
$ export PICO_SDK_PATH='<path-to-your-pico-sdk>'
28
30
$ export PICO_TOOLCHAIN_PATH='<path-to-the-arm-toolchain>'# A default `brew` install will be located at `/Applications/ArmGNUToolchain/[version]/arm-none-eabi`
- Build and copy the program in the UF2 format to the Mass Storage device to trigger flashing the program into memory (after which the device will reboot and run the firmware):
26
+
- (determining your toolchain identifier is step 5 in this [matter tutorial](https://apple.github.io/swift-matter-examples/tutorials/swiftmatterexamples/setup-macos/))
26
27
```console
27
28
$ cd pico-blink
28
-
$ TOOLCHAINS='<toolchain-name>' ./build.sh# toolchain-name is typically `swift`
29
+
$ TOOLCHAINS='<toolchain-identifier>' ./build.sh
29
30
$ cp .build/blink.uf2 /Volumes/RP2040
30
31
```
31
32
- The green LED should now be blinking in a pattern.
0 commit comments