Skip to content

Commit 924c714

Browse files
committed
Be even more explicit about Pico and Pico W needing different blink samples
1 parent f1402ff commit 924c714

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

pico-blink-sdk/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This example demonstrates how to integrate with the Pico SDK which is using CMak
66

77
## Requirements
88

9+
- A Raspberry Pi Pico (non-W) board. If you have a Pico W instead, refer to the [pico-w-blink-sdk](../pico-w-blink-sdk) sample instead.
910
- Follow the setup steps at https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf, in particular you'll need:
1011
- A checkout of the [pico-sdk](https://github.com/raspberrypi/pico-sdk.git), with git submodules checked out.
1112
- A checkout of the [pico-examples](https://github.com/raspberrypi/pico-examples.git).

pico-blink/README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
<img src="https://raw.githubusercontent.com/kubamracek/swift-evolution/branch/assets/pico-blink.jpg">
44

5+
## Requirements
6+
7+
- A Raspberry Pi Pico (non-W) board. If you have a Pico W instead, this sample code will require modifications.
8+
59
## How to build and run this example:
610

7-
- Connect the Pico W board via a USB cable to your Mac, and make sure it's in the USB Mass Storage firmware upload mode (either hold the BOOTSEL button while plugging the board, or make sure your Flash memory doesn't contain any valid firmware).
11+
- Connect the Pico board via a USB cable to your Mac, and make sure it's in the USB Mass Storage firmware upload mode (either hold the BOOTSEL button while plugging the board, or make sure your Flash memory doesn't contain any valid firmware).
812
- Make sure you have a recent nightly Swift toolchain that has Embedded Swift support.
913
- 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):
1014
``` console
@@ -13,5 +17,3 @@ $ TOOLCHAINS='<toolchain-name>' ./build.sh
1317
$ cp .build/blink.uf2 /Volumes/RP2040
1418
```
1519
- The green LED should now be blinking in a pattern.
16-
17-
TODO: Remove unused stuff from HAL/Hardware

pico-w-blink-sdk/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This example demonstrates how to integrate with the Pico SDK which is using CMak
66

77
## Requirements
88

9+
- A Raspberry Pi Pico W board. If you have a Pico (non-W) instead, refer to the [pico-blink-sdk](../pico-blink-sdk) sample instead.
910
- Follow the setup steps at https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf, in particular you'll need:
1011
- A checkout of the [pico-sdk](https://github.com/raspberrypi/pico-sdk.git), with git submodules checked out.
1112
- A checkout of the [pico-examples](https://github.com/raspberrypi/pico-examples.git).

0 commit comments

Comments
 (0)