Skip to content

Conversation

@AdinAck
Copy link
Contributor

@AdinAck AdinAck commented Jan 8, 2025

I noticed the PwrExt re-export was missing from prelude.

On a side note, why are so many exports commented out? Is this a regression that slipped by?

@usbalbin
Copy link
Member

usbalbin commented Jan 8, 2025

Seems to have been that way for quite some time https://github.com/stm32-rs/stm32g4xx-hal/blame/main/src/prelude.rs

@usbalbin usbalbin merged commit 2440882 into stm32-rs:main Jan 12, 2025
23 checks passed
usbalbin added a commit that referenced this pull request Jan 27, 2025
* Export pac as pac (#156)

* rm remaining fdcan files (#160)

* defmt format for rcc clocks (#163)

* export PwrExt in prelude (#164)

* e-hal-v1 (#172)

* Implement SpiBus from embedded-hal 1

* i2c: implement embedded-hal traits

* gpio: implement embedded-hal 1 digital traits

* pwm: implement SetDutyCycle from embedded-hal 1

* delay: temporary DelayNs impl (μs-resolution)

* serial: implement embedded-io traits for UART

* bump hal-1, remove ToggleableOutputPin impls

* remove embedded-hal 0.2 from prelude, rename hals

embedded-hal 1.0 renamed from embedded-hal-one to embedded-hal
embedded-hal 0.2 renamed from embedded-hal to embedded-hal-old, still
re-exported as hal-02

* pwm: use set_duty_cycle_percent in example

* run cargo fmt

* remove unused dependencies

I had added them by accident for an example that didn't end up in the PR

* time: fix duration variable names, add doc

* docs: fix cargo doc warnings

* Try to make syst delay work as before

* Cleanup examples

---------

Co-authored-by: techmccat <[email protected]>

---------

Co-authored-by: AdinAck <[email protected]>
Co-authored-by: techmccat <[email protected]>
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