Skip to content

Commit 7e9b765

Browse files
committed
address feedback on mmio section
1 parent 8b182c2 commit 7e9b765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2025-11-17-embedded-swift-improvements-coming-in-swift-6.3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ swiftSettings: [
3030

3131
### Swift MMIO 0.1.x
3232

33-
The [0.1.x release](https://github.com/apple/swift-mmio/releases/tag/0.1.0) of Swift MMIO brings a bunch of bug fixes and quality-of-life improvements, plus brand new comprehensive [documentation](https://swiftpackageindex.com/apple/swift-mmio/documentation/mmio) on the Swift Package Index.
33+
The [0.1.x release](https://github.com/apple/swift-mmio/releases/tag/0.1.0) of Swift MMIO, a package for memory-mapped I/O, includes many bug fixes and quality-of-life improvements, plus newly written comprehensive [documentation](https://swiftpackageindex.com/apple/swift-mmio/documentation/mmio) on the Swift Package Index.
3434

3535
The biggest addition is code generation support. There's now an [svd2swift tool](https://swiftpackageindex.com/apple/swift-mmio/documentation/svd2swift) and corresponding [SwiftPM plugin](https://swiftpackageindex.com/apple/swift-mmio/documentation/svd2swift/usingsvd2swiftplugin) that generates Swift MMIO interfaces directly from CMSIS System View Description (SVD) files. You can run it manually from the command line, or configure the plugin to handle everything automatically at build time.
3636

3737
Debugging also got a nice upgrade with [SVD2LLDB](https://swiftpackageindex.com/apple/swift-mmio/documentation/svd2lldb).
3838
This LLDB plugin lets you work with device registers using their actual names instead of fumbling with the raw memory addresses.
3939
It even includes visual decoding support to help you make sense of register values.
40-
For example, here's what it looks like when you decode a timer control register:
40+
For example, here's what it looks like when you decode a hypothetical timer control register:
4141

4242
```swift
4343
(lldb) svd decode TIMER0.CR 0x0123_4567 --visual

0 commit comments

Comments
 (0)