Skip to content

Misc parts libraries cleanup#490

Merged
ducky64 merged 9 commits into
masterfrom
misc-cleaning
May 19, 2026
Merged

Misc parts libraries cleanup#490
ducky64 merged 9 commits into
masterfrom
misc-cleaning

Conversation

@ducky64
Copy link
Copy Markdown
Collaborator

@ducky64 ducky64 commented May 19, 2026

  • Changes STM32F103 to generate the more common 8MHz crystal by default. Breaks compatibility, but there doesn't seem to be a clean better option.
  • Changes STM32F103 to generate the max memory variant by default.
  • Adds an optional reversed parameter to the PinSocket254Pair.
  • Changes diode power merges to model the output voltage based on the spec voltage drop instead of actual part values, to avoid a circular dependency where the output current depends on the output voltage (eg, if a LED is involved), and the diode can never be generated because it requires the output current.
  • Add UsbHostBridge.
  • Updates examples and netlists.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Comment thread edg/parts/PassiveConnector_Header.py Outdated
Comment on lines +62 to +66
def __init__(self, length: IntLike = 0, *, reversed: BoolLike = False) -> None:
super().__init__()
self.ext = self.Block(PinSocket254(length), external=True)
self.int = self.Block(PinHeader254(length))
self.pins = self.Export(self.int.pins)
self.length = self.ArgParameter(length)
self.reversed = self.ArgParameter(reversed)
self.generator_param(self.reversed)
@ducky64 ducky64 merged commit 76ca6e7 into master May 19, 2026
12 checks passed
@ducky64 ducky64 deleted the misc-cleaning branch May 19, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants