I see support for STM32F746, Raspberry Pi Pico, nRF52840, and ESP32C6
STM32F746, Raspberry Pi Pico, nRF52840, and ESP32C6 , but I don't have any of these hardware.
I just spent $134 on the SwiftIO Playground Kit , but figure it will take a long, long time to ship before I receive it.
I don't want to have to spend extra money on hardware until I receive it, right now I only have a 51 microcontroller with me, can I use swift to experience the fun of lighting up LEDs? How should I go about it?
Unfortunately no, that chip appears to use a legacy intel 8 bit architecture that is not supported by Swift nor LLVM.
I know it is another purchase, but perhaps picking up a pico might work for you. They often are less than $5 and ship very quickly. We even have an example of driving a neopixel LED strip with one.
I would like to note that this project is not affiliated with Swiftlang, but they are doing interesting work!
Thank you very much for your reply, it's very happy to see your answer and let me know what I searched for a long time and didn't get an answer.
Since I am in China, it will be a long time before I receive this official hardware. I just went to buy an ESP32-C6-DevKitC-1.
Thanks again.
There is another question I would like to ask you.
The current version of my software as well as the toolchain:
Xcode: Version 16.2 (16C5032a)
Toolchain: Swift Development Snapshot 2024-12-16 (a)
But the output I get using swift -version is:
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Instead of % TOOLCHAINS=org.swift.62202412161a swift --version
Apple Swift version 6.2-dev (LLVM 1b38440e27d7b93, Swift 0a9ab413a091180)
Target: arm64-apple-macosx15.0
I've tried a few ways to switch, but no luck. I'm probably very new to this problem, so I'm very sorry.