I’m excited to share swift-playdate-examples, a technical demonstration of using Swift to build games for Playdate, a handheld game system by Panic.| Swift.org
Accompanying Ole's great work on getting a pure Swift environment up and running on the Raspberry Pi Pico I've been working on implementing a hardware access layer for the RP2040. Here are the first results: RP2040MMIO. The package is based on Swift MMIO. It provides access to all of the RP2040's peripherals and their registers. Overall it's about 35k lines of generated Swift source code. I have not yet managed to compile actual RP2040 code. Currently there's still a bug that prevents macros ...| Swift Forums
Hello! @rauhul, @Philippe_Hausler and myself have assembled a repository with several simple example projects that show how to use Embedded Swift to target a range of MCUs (STM32, Raspberry Pi Pico, nRF, and even a RISC-V ESP32), how to integrate with existing SDKs, and how to control some interesting peripherals. The repository is available here: Note that the repository contains code that is not supposed to be continuously developed, but instead it should serve as an educational and demons...| Swift Forums
Hi all, I wrote a blog post about my experience bringing Swift to the Playdate using the embedded language mode. Please feel free to discuss the blog post here.| Swift Forums
This is sort of a follow-up on Embedded Swift running on the Raspberry Pi Pico, but with a different take. I managed to create a very small Embedded Swift "toolchain" for building pure Swift executables for the Raspberry Pi Pico (it might also work with other RP2040 boards, but I'm only testing on the Pico). The "toolchain" is just a Makefile, so no SwiftPM integration yet, but I feel we're not too far off. The repository is here if you want to try it out: It should work on macOS and Linux a...| Swift Forums