{"id":22691867,"url":"https://github.com/cmst0us/stm32mp1-swift-toolchain","last_synced_at":"2026-05-05T17:33:08.855Z","repository":{"id":187639125,"uuid":"675046444","full_name":"CmST0us/stm32mp1-swift-toolchain","owner":"CmST0us","description":"Swift Toolchain For STM32MP1","archived":false,"fork":false,"pushed_at":"2023-08-11T13:57:17.000Z","size":73246,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T09:42:56.874Z","etag":null,"topics":["arm","cross-platform","crosscompile","linux","stm32","swift","swift-arm"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CmST0us.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-05T15:45:35.000Z","updated_at":"2023-08-11T13:55:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2cfc40f-799e-4706-9075-bc5424b1af4e","html_url":"https://github.com/CmST0us/stm32mp1-swift-toolchain","commit_stats":null,"previous_names":["cmst0us/stm32mp1-swift-toolchain"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CmST0us/stm32mp1-swift-toolchain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CmST0us%2Fstm32mp1-swift-toolchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CmST0us%2Fstm32mp1-swift-toolchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CmST0us%2Fstm32mp1-swift-toolchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CmST0us%2Fstm32mp1-swift-toolchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CmST0us","download_url":"https://codeload.github.com/CmST0us/stm32mp1-swift-toolchain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CmST0us%2Fstm32mp1-swift-toolchain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32660321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","cross-platform","crosscompile","linux","stm32","swift","swift-arm"],"created_at":"2024-12-10T01:12:43.121Z","updated_at":"2026-05-05T17:33:08.838Z","avatar_url":"https://github.com/CmST0us.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift Toolchain For STM32MP1\n\n## Swift Version\n`Swift 5.8.1`\n\n## How to use\n1. extract file\n```bash\nSTM32MP1_SWIFT_RUNTIME_PATH=\u003cpath/to/extract\u003e\ntar zxvf swift-5.8.1-runtime-stm32mp1.tar.gz $STM32MP1_SWIFT_RUNTIME_PATH\n```\n\n2. modify `build_stm32.sh`, set the path\n```\n# Set follow path\nexport SWIFT_BIN=/path/to/your/host/swift/tool/usr/bin\nexport SWIFT_RESOURCE_DIR=/path/to/your/stm32/runtime/usr/lib/swift\nexport STM32_SDK_PATH=/path/to/your/host/stm32/sdk/sysroot\n```\n\n3. build your project use `build_stm32.sh`\n\n4. copy runtime lib to stm32mp1 board\n\n5. run in your board with\n```bash\nLD_LIBRARY_PATH=\u003cpath/to/runtime/usr/lib/swift/linux\u003e ./your_swift_program\n```\n\n## Support Framework\n1. Foundation\n2. Dispatch\n3. FoundationNetwork\n3. Glibc","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmst0us%2Fstm32mp1-swift-toolchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmst0us%2Fstm32mp1-swift-toolchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmst0us%2Fstm32mp1-swift-toolchain/lists"}