Skip to content

ole/SwiftPM-embedded-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A minimal example for building an Embedded Swift executable with SwiftPM.

You need a current nightly Swift toolchain.

Usage

On Mac

swift build \
    --toolchain /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2024-01-14-a.xctoolchain/ \
    --triple armv6m-none-none-eabi \

On Linux

################################################################
#								#
# Swift Nightly Docker Image					#
# Tag: swift-DEVELOPMENT-SNAPSHOT-2024-01-13-a			#
#								#
################################################################

swift build --triple armv6m-none-none-eabi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages