Embedded Swift

Swift on microcontrollers and bare-metal targets.

Embedded Swift brings the language to microcontrollers and other resource-constrained environments without the standard library overhead. This workstream tracks board support, examples, and the evolution of the Embedded language mode itself.

Topics

  • Toolchain setup for ARM Cortex-M and RISC-V boards
  • Memory and binary-size guidelines
  • Hardware peripheral examples and FFI bindings

From swift.org

Embedded Swift is a first-class compilation mode in the official Swift toolchain. The canonical resources are:

← All projects