Skip to content

issues Search Results · repo:apple/swift-mmio language:Swift

Filter by

32 results
 (65 ms)

32 results

inapple/swift-mmio (press backspace or delete to remove)

A very common use-case in register definitions are single-bit boolean register fields, like the following: @Register(bitWidth: 32) struct DeviceStatus { @ReadWrite(bits: 0.. 1, as: Bool.self) ...
enhancement
mmio
  • davidgreenaway
  • 1
  • Opened 
    on May 30
  • #155

While writing some MMIO code, I wasn t sure if .write { $0.raw.someBit = 1 } is going to retain the other bits or not. I only found out the answer the hard way (stuff didn t work at runtime) and then reading ...
documentation
good first issue
help wanted
mmio
  • kubamracek
  • 1
  • Opened 
    on Apr 5
  • #152

I get the following when I try to put generated MMIO registers into a separate module and use --access-level public to make them visible to my app: macro expansion @Register:309:46: error: property storage ...
good first issue
help wanted
mmio
  • kubamracek
  • 1
  • Opened 
    on Apr 5
  • #151

SVD2Swift should sort bitfields in registers when generating output. The output should always match low to high or high to low regardless of the source svd order. @Register(bitWidth: 8) struct Foo { ...
svd2swift
  • rauhul
  • Opened 
    on Mar 12
  • #150

I have use cases where I want all the semantics MMIO gives me, but without actually having a fixed memory address where it maps to. Being able to define register blocks for access to some memory location ...
  • jweinberg
  • 3
  • Opened 
    on Jan 2
  • #142

Dynamic arrays are used in FixedWidthInteger.bitRangesCoalesced. Swift MMIO should really be allocations free. This was identified while investigating https://forums.swift.org/t/building-swift-mmio-for-stm32c011-with-no-allocations-results-in-compilation-error/75124 ...
mmio
  • kubamracek
  • 2
  • Opened 
    on Oct 3, 2024
  • #126

As per the SVD Spec here enumeratedValues can be an array of up to 2 instances. Currently SVDFields only supports a single enumeratedValues child. Both the SVD library and code using it need to updated ...
svd
svd2swift
  • rauhul
  • Opened 
    on Aug 23, 2024
  • #117

When bringing up an embedded example for the rp2350 I noticed using an invalid peripheral name in svd2swiftplugin silently fails. this should instead result in an error.
good first issue
svd2swift
  • rauhul
  • 1
  • Opened 
    on Aug 15, 2024
  • #112

We should be able to round trip SVD files from and back to XML. We should add tests which cover this behavior. They will also help ensure we aren t dropping any data from the source file while parsing. ...
help wanted
svd
testing
  • rauhul
  • Opened 
    on Mar 6, 2024
  • #91

The SVD library currently doesn t support parsing enumerated values. These are really important to add support for so we can update svd2swift to generate safer field projections.
help wanted
svd
  • rauhul
  • Opened 
    on Mar 6, 2024
  • #90
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub