Update 8 voltage divider packages for new ResistorVoltageDivider API#447
Open
napowderly wants to merge 2 commits intomainfrom
Open
Update 8 voltage divider packages for new ResistorVoltageDivider API#447napowderly wants to merge 2 commits intomainfrom
napowderly wants to merge 2 commits intomainfrom
Conversation
Migrate all packages using voltage dividers to the new API introduced in atopile 0.14.x with the discrete sampling solver. Bump versions (minor) and set requires-atopile to ^0.14.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d1cb3a8 to
15398ba
Compare
Generated by `ato build` after updating voltage divider API. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrate all packages with voltage dividers to the new
ResistorVoltageDividerAPI (atopile 0.14.x discrete sampling solver). All 8 packages build successfully with both default and usage targets.API Migration
.r_top.chain.resistors[0].r_bottom.chain.resistors[1].power.ref_in.output/.output.line.ref_out/.ref_out.hv.max_current.currentPackage Version Bumps
Verified Picked Values (Usage Builds)
Additional Fixes
from "regulators.ato" import X→import AdjustableRegulator(file-path imports no longer resolve;AdjustableLDO/Bucknot in stdlib allowlist).vcc/.gnd→.hv/.lvassert x is <literal>→assert x within <literal>cap.power ~ power_out→ bridge connections (avoids solver alias cycles)p1/p2→unnamed[0]/unnamed[1]or bridge connectionstrait has_part_removedremoved (st-ldk220 usage)Test plan
ato build(bothdefaultandusagetargets)🤖 Generated with Claude Code