programming-swift-embedded
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEmbedded Swift
Embedded Swift
Embedded Swift is a compilation and language mode that enables development of baremetal, embedded and standalone software in Swift
Embedded Swift是一种编译和语言模式,支持使用Swift开发裸机、嵌入式及独立软件
Documentation Structure
文档结构
Getting Started
入门指南
- Introduction to Embedded Swift (GettingStarted/Introduction.md): Write Swift code for microcontrollers, embedded systems, and bare-metal applications
- Language subset (GettingStarted/LanguageSubset.md): Details of the Embedded Swift language subset compared to full Swift
- Install Embedded Swift (GettingStarted/InstallEmbeddedSwift.md): Get the tools needed to use Embedded Swift
- Embedded Swift简介 (GettingStarted/Introduction.md):编写适用于微控制器、嵌入式系统及裸机应用的Swift代码
- 语言子集 (GettingStarted/LanguageSubset.md):Embedded Swift语言子集与完整Swift的详细对比
- 安装Embedded Swift (GettingStarted/InstallEmbeddedSwift.md):获取使用Embedded Swift所需的工具
Guided Examples
引导式示例
- Getting started with Embedded Swift (GettingStarted/WaysToGetStarted.md): Possible directions to explore to start using Embedded Swift
- Try out Embedded Swift on macOS (GuidedExamples/macOSGuide.md): Tutorial for building a simple program for your host OS with Embedded Swift
- Raspberry Pi Pico Blink (Pico SDK) (GuidedExamples/PicoGuide.md): Tutorial for targetting a Raspberry Pi Pico as an embedded device that runs a simple Swift program
- Baremetal Setup for STM32 with Embedded Swift (GuidedExamples/STM32BaremetalGuide.md): Program a STM32 microcontroller directly with low-level Swift code
- Embedded Swift入门 (GettingStarted/WaysToGetStarted.md):开始使用Embedded Swift的可行探索方向
- 在macOS上试用Embedded Swift (GuidedExamples/macOSGuide.md):使用Embedded Swift为宿主OS构建简单程序的教程
- Raspberry Pi Pico闪烁示例(Pico SDK) (GuidedExamples/PicoGuide.md):针对Raspberry Pi Pico嵌入式设备运行简单Swift程序的教程
- 使用Embedded Swift搭建STM32裸机环境 (GuidedExamples/STM32BaremetalGuide.md):使用底层Swift代码直接编程STM32微控制器
Using Embedded Swift
使用Embedded Swift
- Basics of using Embedded Swift (UsingEmbeddedSwift/Basics.md): Basic information for using Embedded Swift in typical embedded projects
- Strings (UsingEmbeddedSwift/Strings.md): How to enable full Unicode-compliant string support in Embedded Swift
- Conditionalizing compilation for Embedded Swift (UsingEmbeddedSwift/ConditionalCompilation.md): How to share code between Embedded Swift and full Swift using conditional compilation
- Libraries and modules in Embedded Swift (UsingEmbeddedSwift/Libraries.md): Understand the library setup and linkage model of Embedded Swift
- External dependencies (UsingEmbeddedSwift/ExternalDependencies.md): What external system dependencies should you expect from Embedded Swift compilations
- Existentials (UsingEmbeddedSwift/Existentials.md): Restrictions on existentials ("any" types) that apply in Embedded Swift
- Non-final generic methods (UsingEmbeddedSwift/NonFinalGenericMethods.md): Restrictions on unbound generic methods that apply in Embedded Swift
- Embedded Swift使用基础 (UsingEmbeddedSwift/Basics.md):在典型嵌入式项目中使用Embedded Swift的基础信息
- 字符串处理 (UsingEmbeddedSwift/Strings.md):如何在Embedded Swift中启用完整的Unicode兼容字符串支持
- Embedded Swift条件编译 (UsingEmbeddedSwift/ConditionalCompilation.md):如何通过条件编译在Embedded Swift与完整Swift之间共享代码
- Embedded Swift中的库与模块 (UsingEmbeddedSwift/Libraries.md):了解Embedded Swift的库设置与链接模型
- 外部依赖 (UsingEmbeddedSwift/ExternalDependencies.md):Embedded Swift编译所需的外部系统依赖说明
- 存在类型 (UsingEmbeddedSwift/Existentials.md):Embedded Swift中对存在类型("any"类型)的限制
- 非最终泛型方法 (UsingEmbeddedSwift/NonFinalGenericMethods.md):Embedded Swift中对非绑定泛型方法的限制
Build System Support
构建系统支持
- Integrate with Bazel (BuildSystemSupport/IntegrateWithBazel.md-wip): (Work in Progress)
- Integrate with CMake (BuildSystemSupport/IntegrateWithCMake.md-wip): (Work in Progress)
- Integrate with Make (BuildSystemSupport/IntegrateWithMake.md-wip): (Work in Progress)
- Integrate with SwiftPM (BuildSystemSupport/IntegrateWithSwiftPM.md-wip): (Work in Progress)
- Integrate with Xcode (BuildSystemSupport/IntegrateWithXcode.md-wip): (Work in Progress)
- 与Bazel集成 (BuildSystemSupport/IntegrateWithBazel.md-wip):(开发中)
- 与CMake集成 (BuildSystemSupport/IntegrateWithCMake.md-wip):(开发中)
- 与Make集成 (BuildSystemSupport/IntegrateWithMake.md-wip):(开发中)
- 与SwiftPM集成 (BuildSystemSupport/IntegrateWithSwiftPM.md-wip):(开发中)
- 与Xcode集成 (BuildSystemSupport/IntegrateWithXcode.md-wip):(开发中)
SDK Support
SDK支持
- Integrating with embedded platforms (SDKSupport/IntegratingWithPlatforms.md): Understand the common patterns and approaches for integrating Swift with existing embedded systems
- Baremetal use of Embedded Swift (SDKSupport/Baremetal.md): Programming without an SDK for maximum control and minimal size
- ESP IDF (SDKSupport/IntegrateWithESP.md-wip): (Work in Progress)
- Raspberry Pi Pico SDK (SDKSupport/IntegrateWithPico.md): Setting up a project that can seamlessly use C APIs from the Pico SDK.
- Zephyr RTOS SDK (SDKSupport/IntegrateWithZephyr.md): Integrating Swift with Zephyr RTOS for embedded systems development
- 与嵌入式平台集成 (SDKSupport/IntegratingWithPlatforms.md):了解将Swift与现有嵌入式系统集成的通用模式和方法
- Embedded Swift裸机使用 (SDKSupport/Baremetal.md):不使用SDK进行编程,以实现最大控制和最小体积
- ESP IDF (SDKSupport/IntegrateWithESP.md-wip):(开发中)
- Raspberry Pi Pico SDK (SDKSupport/IntegrateWithPico.md):设置可无缝使用Pico SDK中C API的项目
- Zephyr RTOS SDK (SDKSupport/IntegrateWithZephyr.md):将Swift与Zephyr RTOS集成以进行嵌入式系统开发
Compiler Development and Details
编译器开发与细节
- ABI of Embedded Swift (CompilerDetails/ABI.md): Understanding the different ABI (Application Binary Interface) for Embedded Swift
- Implementation Status (CompilerDetails/Status.md): Implementation status of compiler and language features in Embedded Swift, comparison to standard Swift
- Embedded Swift的ABI (CompilerDetails/ABI.md):了解Embedded Swift的不同ABI(应用二进制接口)
- 实现状态 (CompilerDetails/Status.md):Embedded Swift中编译器和语言特性的实现状态,与标准Swift的对比
Usage Notes
使用说明
- Documentation is organized progressively from getting started to advanced topics
- Start with the Introduction or Getting Started section
- Consult specific guides for detailed information
- 文档从入门到高级主题逐步组织
- 从简介或入门部分开始学习
- 如需详细信息,请查阅特定指南
License & Attribution
许可与归属
This skill contains content converted from DocC documentation format.
本Skill包含从DocC文档格式转换而来的内容。