Embedded Swift Community Hour (July 11, 2025)

Hey everyone, I very much enjoyed the session today! We had 25 attendees (if I counted correctly), multiple ones were first time attendees. We covered these topics:

  • demo/presentation by @georgik
    • Swift on ESP32 RISC-V baremetal (not ESP-IDF)
    • SVD files (SVD2Swift) for GPIO, UART, SPI
    • total control, no SDK, no OS, just Swift code
  • baremetal vs. WiFi, driver implementations (from scratch, blobs)
  • Swift toolchain Xtensa support
    • slowly making progress (upstreaming LLVM+Clang), though long-term Xtensa chips going to eventually be EoL’d
  • Pure Swift networking stack hobby project by @Joannis_Orlandos
  • Serialization, protobufs, JSON, …
  • Currency types, like Date from Foundation
  • High-level serialization and needs (WiFi) vs low-level ones (I2C)
  • Build systems - baremetal setups can have a much more simpler and elegant build systems
    • ESP-IDF content built with pure SwiftPM? Calling “External build systems” from SwiftPM?
  • What would folks like to see a walkthrough/demo/show-n-tell on?
    • Build systems walkthrough over swift-embedded-examples
    • Source level debugging
    • Approach breakdown on transitioning a C ESP-IDF project to Swift
8 Likes