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: README.md
+17-4
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,22 @@ This repository is a set of demonstration projects of **Embedded Swift**. Embedd
11
11
> [!WARNING]
12
12
> Embedded Swift is experimental. Some information on this page might be out of date with latest development.
13
13
14
-
> [!IMPORTANT]
15
-
> Use the latest downloadable 'main' [Development Snapshot](https://www.swift.org/install/macos/#development-snapshots) from swift.org to use Embedded Swift. Public releases of Swift do not yet support Embedded Swift.
14
+
## Building the examples
16
15
17
-
> [!NOTE]
18
-
> This repository contains code that is not continuously developed, instead it's presented "as is" for educational and demonstrational purposes. Making major improvements to existing examples is discouraged, but additions of new examples is welcome.
16
+
Each example in this repository contains build and deployment instructions, however there are a couple common steps needed for many of the examples included below:
17
+
18
+
1. Install the latest downloadable 'main' [Development Snapshot](https://www.swift.org/install/macos/#development-snapshots) from swift.org to use Embedded Swift. Public releases of Swift do not yet support Embedded Swift.
19
+
20
+
You can follow the [tutorial here](https://apple.github.io/swift-matter-examples/tutorials/swiftmatterexamples/setup-macos/) for instructions on installing and using nighly Swift toolchains.
21
+
22
+
2. Install the Python3 dependencies listed in `requirements.txt`.
@@ -55,6 +66,8 @@ Please note that the presence of community repositories and devices in this list
55
66
56
67
## Contributing to this repository
57
68
69
+
This repository contains code that is not continuously developed, instead it's presented "as is" for educational and demonstrational purposes. Making major improvements to existing examples is discouraged, but additions of new examples is welcome.
70
+
58
71
### Code of Conduct
59
72
60
73
Like all Swift.org projects, we would like these Embedded Swift example projects to foster a diverse and friendly community. We expect contributors to adhere to the [Swift.org Code of Conduct](https://swift.org/code-of-conduct/).
Copy file name to clipboardExpand all lines: pico-blink-sdk/README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,13 @@ 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):
$ export PICO_TOOLCHAIN_PATH='<path-to-the-arm-toolchain>'# A default `brew` install will be located at `/Applications/ArmGNUToolchain/[version]/arm-none-eabi`
Copy file name to clipboardExpand all lines: pico-blink/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
- 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):
14
14
```console
15
15
$ cd pico-blink
16
-
$ TOOLCHAINS='<toolchain-name>' ./build.sh
16
+
$ TOOLCHAINS='<toolchain-identifier>' ./build.sh
17
17
$ cp .build/blink.uf2 /Volumes/RP2040
18
18
```
19
19
- The green LED should now be blinking in a pattern.
Copy file name to clipboardExpand all lines: pico-w-blink-sdk/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ This example demonstrates how to integrate with the Pico SDK which is using CMak
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):
Copy file name to clipboardExpand all lines: pico2-neopixel/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ index f6867b5..a2291db 100644
37
37
- 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):
0 commit comments