Skip to content

Update embedded links #1049

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/new-data/get-started/embedded/link-columns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ columns:
- text: Embedded Swift vision document
url: 'https://github.com/swiftlang/swift-evolution/blob/main/visions/embedded-swift.md'
- text: Embedded Swift example projects
url: 'https://github.com/apple/swift-embedded-examples'
url: 'https://github.com/swiftlang/swift-embedded-examples'
- headline: Talks
links:
- text: Go Small With Embedded Swift
Expand Down
8 changes: 4 additions & 4 deletions _data/new-data/get-started/embedded/primary-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ primary_cards:
logo_alt: Harmony
text: Build a Bluetooth speaker with a ferrofluid visualizer using the Raspberry Pi Pico W.
link_text: Learn more
link: https://github.com/apple/swift-embedded-examples/tree/main/harmony
link: https://github.com/swiftlang/swift-embedded-examples/tree/main/harmony

- name: Matter and HomeKit Smart Light
logo: /assets/images/get-started/matter-homeKit-smartlight@2x.png
logo_alt: Matter and HomeKit Smart Light
text: Implement a Matter smart light accessory that can be used from HomeKit, using an ESP32 microcontroller.
link: https://github.com/apple/swift-matter-examples
link: https://github.com/swiftlang/swift-matter-examples
link_text: Learn more

secondary_cards:
Expand All @@ -20,7 +20,7 @@ secondary_cards:
logo: /assets/images/get-started/interactive-ui-examples@2x.png
text: Build projects using the popular embedded graphics library LVGL on an STM32 board for rich UI and touch input.
link_text: Learn more
link: https://github.com/apple/swift-embedded-examples/tree/main/stm32-lvgl
link: https://github.com/swiftlang/swift-embedded-examples/tree/main/stm32-lvgl

- name: PlaydateKit
logo: /assets/images/get-started/playdate-kit@2x.png
Expand All @@ -30,5 +30,5 @@ secondary_cards:
link_text: Learn more

link:
url: https://github.com/apple/swift-embedded-examples
url: https://github.com/swiftlang/swift-embedded-examples
text: Explore more Embedded Swift examples and templates on Github
6 changes: 3 additions & 3 deletions _posts/2024-03-12-byte-sized-swift-tiny-games-playdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: "Byte-sized Swift: Building Tiny Games for the Playdate"
author: [rauhul]
---

I'm excited to share [swift-playdate-examples](https://github.com/apple/swift-playdate-examples), a technical demonstration of using Swift to build games for [Playdate](https://play.date/), a handheld game system by [Panic](https://panic.com).
I'm excited to share [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples), a technical demonstration of using Swift to build games for [Playdate](https://play.date/), a handheld game system by [Panic](https://panic.com).

<video title="A screencapture of Swift Break running on Playdate hardware mirrored to a Mac." autoplay loop muted style="width: 100%; border-radius: 15px;">
<source src="{{site.url}}/assets/images/2024-03-12-byte-sized-swift-tiny-games-playdate/playdate-mirror-video-swiftbreak.mp4" type="video/mp4">
Expand Down Expand Up @@ -96,7 +96,7 @@ Swift Break features a splash screen, a pause menu, paddle-location-based bounce

## Try it Out

If you're eager to use Swift on your Playdate, the [swift-playdate-examples](https://github.com/apple/swift-playdate-examples) repository has you covered. It contains the above ready-to-use examples that demonstrate how to build Swift games for the Playdate, both for the simulator and the hardware.
If you're eager to use Swift on your Playdate, the [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples) repository has you covered. It contains the above ready-to-use examples that demonstrate how to build Swift games for the Playdate, both for the simulator and the hardware.

Additionally, the repository includes detailed documentation to guide you through the setup process. Whether you're a seasoned developer or just starting, you'll find the necessary resources to bring your ideas to life.

Expand Down Expand Up @@ -440,7 +440,7 @@ Thanks for diving into the bring-up journey with me. From refining the Swift Pla

However, with the issues now resolved, creating Playdate games in Swift is a streamlined process. Just run `make` and enjoy a development experience with Swift that is both expressive _and_ performant.

You can find all the code examples mentioned in this post in the [swift-playdate-examples](https://github.com/apple/swift-playdate-examples) repository with accompanying "Getting Started" documentation.
You can find all the code examples mentioned in this post in the [swift-playdate-examples](https://github.com/swiftlang/swift-playdate-examples) repository with accompanying "Getting Started" documentation.

I hope this post encourages you to explore the possibilities of using Swift in unconventional environments. Feel free to reach out with your experiences, questions, or game ideas on the [Swift Forums](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615)!

Expand Down
6 changes: 3 additions & 3 deletions _posts/2024-04-03-embedded-swift-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ title: "Get Started with Embedded Swift on ARM and RISC-V Microcontrollers"
author: [kubamracek]
---

We're pleased to introduce a [repository of example projects](https://github.com/apple/swift-embedded-examples) that demonstrate how Embedded Swift can be used to develop software on a range of microcontrollers.
We're pleased to introduce a [repository of example projects](https://github.com/swiftlang/swift-embedded-examples) that demonstrate how Embedded Swift can be used to develop software on a range of microcontrollers.

Swift is a scalable language, great for writing desktop and mobile apps, server backends, and system software. And as you [may have seen](https://www.swift.org/blog/byte-sized-swift-tiny-games-playdate/), thanks to a new, experimental compilation mode, you can use Swift to target embedded environments like ARM and RISC-V microcontrollers as well, popular for building professional and hobbyist electronics projects such as IoT devices.

Microcontrollers are constrained environments where not all of Swift’s features are appropriate. The new Embedded Swift compilation mode turns off certain language features like runtime reflection, ABI stability, and existentials, to produce standalone binaries suitable for firmware. Despite turning off some language features, the Embedded Swift subset still feels very close to the “full” Swift that developers love, and makes it easy to continue writing idiomatic, easy-to-read Swift code. You can dive into the details in the formally accepted [Embedded Swift Vision Document](https://github.com/swiftlang/swift-evolution/blob/main/visions/embedded-swift.md), and try it out in the [nightly downloadable toolchains](https://www.swift.org/download/#snapshots).

The Swift community has already started publishing [several](https://forums.swift.org/t/embedded-swift-on-the-raspberry-pi-pico-rp2040-without-the-pico-sdk/69338) [fascinating](https://forums.swift.org/t/rp2040mmio-a-hardware-access-layer-for-the-rp2040/69513/1) [projects](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615) built with this language mode, and we thought it would be useful to publish a collection of sample projects at [**swift-embedded-examples**](https://github.com/apple/swift-embedded-examples).
The Swift community has already started publishing [several](https://forums.swift.org/t/embedded-swift-on-the-raspberry-pi-pico-rp2040-without-the-pico-sdk/69338) [fascinating](https://forums.swift.org/t/rp2040mmio-a-hardware-access-layer-for-the-rp2040/69513/1) [projects](https://forums.swift.org/t/byte-sized-swift-building-tiny-games-for-the-playdate/70615) built with this language mode, and we thought it would be useful to publish a collection of sample projects at [**swift-embedded-examples**](https://github.com/swiftlang/swift-embedded-examples).

<div align="center" style="padding: 0 0 20px 0;"><i>
<img src="/assets/images/embedded-examples/boards.jpg" alt="Swift on STM32F746, Raspberry Pi Pico, nRF52840, and ESP32C6">
Expand All @@ -26,7 +26,7 @@ We encourage anyone interested to try out the examples and help us grow the repo

## Try It Out

If you'd like to try out the existing example projects, visit the repository at [**swift-embedded-examples**](https://github.com/apple/swift-embedded-examples). It contains a catalog of examples along with instructions on how to build and run each of them.
If you'd like to try out the existing example projects, visit the repository at [**swift-embedded-examples**](https://github.com/swiftlang/swift-embedded-examples). It contains a catalog of examples along with instructions on how to build and run each of them.

To use these examples, be sure to install the latest [development snapshot toolchain](https://www.swift.org/download/#snapshots). As an experimental mode, Embedded Swift is not yet available in release versions of Swift.

Expand Down
1 change: 1 addition & 0 deletions get-started/embedded/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
redirect_from: "getting-started/embedded-swift"
layout: new-layouts/base
title: Embedded
---
Expand Down