Skip to content

Commit e50a6c4

Browse files
authored
Few typos in docs/EmbeddedSwift/UserManual.md (swiftlang#74311)
1 parent d79c876 commit e50a6c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/EmbeddedSwift/UserManual.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A typical setup and build + run cycle for an embedded development board involves
2222
- (1) Getting an SDK with the C compilers, headers and libraries for the target
2323
- (2) Building the C source code, and Swift source code into object files.
2424
- (3) Linking all the libraries, C object files, and Swift object files.
25-
- (4) Post-processing the linked firmware into a flashable format (UD2, BIN, or bespoke formats)
25+
- (4) Post-processing the linked firmware into a flashable format (UF2, BIN, or bespoke formats)
2626
- (5) Uploading the flashable binary to the board over a USB cable using some vendor-provided JTAG/SWD tool or by copying it to a fake USB Mass Storage volume presented by the board.
2727
- (6) Restarting the board, observing physical effects of the firmware (LEDs light up) or UART output over USB, or presence on network, etc.
2828

@@ -41,7 +41,7 @@ $ swiftc -target <target triple> -enable-experimental-feature Embedded -wmo \
4141

4242
### Building Swift firmware for an embedded target
4343

44-
To build Swift firmware (for now ingnoring integration with SDKs, libraries and other pre-existing C code), we can use the `-target` argument to specify the CPU architecture. The target triple also decides whether the output object file will be an ELF file, or a Mach-O. For example:
44+
To build Swift firmware (for now ignoring integration with SDKs, libraries and other pre-existing C code), we can use the `-target` argument to specify the CPU architecture. The target triple also decides whether the output object file will be an ELF file, or a Mach-O. For example:
4545

4646
```bash
4747
# To build an ARMv7 Mach-O object file:
@@ -185,7 +185,7 @@ Features that are not available:
185185
- **Not available**: Runtime reflection (`Mirror` APIs).
186186
- **Not available**: Values of protocol types ("existentials"), e.g. `let a: Hashable = ...`, are not allowed. `Any` and `AnyObject` are also not allowed.
187187
- **Not available**: Metatypes, e.g. `let t = SomeClass.Type` or `type(of: value)` are not allowed.
188-
- **Not available**: Printing and stringifation of arbitrary types (archieved via reflection in desktop Swift).
188+
- **Not available**: Printing and stringification of arbitrary types (achieved via reflection in desktop Swift).
189189
- **Not available yet (under development)**: Swift Concurrency.
190190

191191
For a more complete list of supported features in Embedded Swift, see [Embedded Swift -- Status](EmbeddedSwiftStatus.md).

0 commit comments

Comments
 (0)