Skip to content

Update smoltcp to 0.12.#488

Open
reitermarkus wants to merge 2 commits intoquartiq:mainfrom
reitermarkus:update-smoltcp
Open

Update smoltcp to 0.12.#488
reitermarkus wants to merge 2 commits intoquartiq:mainfrom
reitermarkus:update-smoltcp

Conversation

@reitermarkus
Copy link
Copy Markdown
Contributor

Needs a rebase after #484 is merged.

@reitermarkus reitermarkus force-pushed the update-smoltcp branch 6 times, most recently from 09c1fad to 295aacf Compare April 30, 2025 10:51
@reitermarkus reitermarkus marked this pull request as ready for review April 30, 2025 10:51
@reitermarkus
Copy link
Copy Markdown
Contributor Author

I saw #441, but it seems this needs to be fixed in smoltcp-nal, given the poll method is called there, right?

Comment thread src/hardware/external_mac.rs Outdated
@jordens
Copy link
Copy Markdown
Member

jordens commented May 7, 2025

I saw #441, but it seems this needs to be fixed in smoltcp-nal, given the poll method is called there, right?

I think so, yes.

@jordens jordens mentioned this pull request Oct 27, 2025
@reitermarkus reitermarkus force-pushed the update-smoltcp branch 2 times, most recently from 7fd24c6 to 16472de Compare March 11, 2026 13:53
@reitermarkus reitermarkus requested a review from jordens March 11, 2026 13:53
@reitermarkus reitermarkus force-pushed the update-smoltcp branch 2 times, most recently from 971ed71 to fc219a1 Compare March 16, 2026 11:41
Copy link
Copy Markdown
Member

@jordens jordens left a comment

Choose a reason for hiding this comment

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

LGTM. Let's change the git url and take the current git nal, then land this.
We probably should land smoltcp 0.13 nal support sooner rather than later.

@reitermarkus reitermarkus force-pushed the update-smoltcp branch 3 times, most recently from 9428ebc to f26a363 Compare April 8, 2026 11:54
@reitermarkus reitermarkus requested a review from jordens April 9, 2026 11:33
Comment on lines +94 to +103
// FIXME: No `self` here.
//
// Verify the interlock is mappable to a DAC threshold.
// let dac_voltage = self
// .output_power_transform
// .invert(*self.output_interlock_threshold);
// let dac_voltage_clamped = dac_voltage.clamp(0.0, ad5627::MAX_VOLTAGE);
// if dac_voltage_clamped != dac_voltage {
// *self.output_interlock_threshold = self.output_power_transform.map(dac_voltage_clamped);
// }
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jordens, not sure how to migrate this from #[tree(validate=...)].

@reitermarkus
Copy link
Copy Markdown
Contributor Author

Also had to update the miniconf dependencies so all of them use the same embedded-nal version.

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