David-OConnor / stm32-hal

This library provides access to STM32 peripherals in Rust.
MIT License
147 stars 44 forks source link

STM32H503 support? #88

Closed astapleton closed 4 months ago

astapleton commented 12 months ago

Hi there! I'm looking at starting work on an H503 in near future. I'm considering using this crate, but I see a number of H5 lines commented out in the Cargo.toml file. What is the state of support? Is it blocked by anything? Does it require contributions?

David-OConnor commented 12 months ago

Hi. It's untested, with a mix of peripheral support. So, you will almost surely find bugs that may or may not be easy to patch.

What it requires: Testing for a given use case, then squashing bugs and adding periph support as required.

David-OConnor commented 12 months ago

*Ohhh. The piece there is STM32-RS needs to do a PAC release. The Github version has it, but I can't release this crate with a git dependency.

I recommend posting an issue here, requesting a release for H5 support.

astapleton commented 11 months ago

Ah, thanks for the quick response. I created an issue: https://github.com/stm32-rs/stm32-rs/issues/862

astapleton commented 11 months ago

Hi. It's untested, with a mix of peripheral support. So, you will almost surely find bugs that may or may not be easy to patch.

What it requires: Testing for a given use case, then squashing bugs and adding periph support as required.

Is there a test suite that you recommend putting it through once the stm32h5 PAC release is ready? I'm pretty new to rust, this repo, this processor, but would be interested in helping to fix some bugs if I can.

David-OConnor commented 11 months ago

Build what you want to, and if something isn't working, we'll deal with it.