Albin Hedman

Results 60 issues of Albin Hedman

#96 requires updates to the pac. However the new pac changes register blocks member fields to access methods. Almost all this PR does is adding paranthesis to things like ```diff...

```rust /// Retrieve a slice of data from `FLASH_START + offset` pub fn read(&self, offset: u32, length: usize) -> Result { self.valid_address(offset)?; if offset + length as u32 > self.flash_sz.kbytes()...

Just ran in to this [probe-run-deprecation](https://ferrous-systems.com/blog/probe-run-deprecation/). `probe-run` is being deprecated in favour of `probe-rs`. Seems like a trivial change for us though

Would there be any interest in support for the [HRTIM peripheral](https://www.st.com/resource/en/reference_manual/rm0440-stm32g4-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf#page=837)? The peripheral is useful for things like generating PWM waveforms for powersupplies and similar. It is available in the...

Tried to fix or mostly just disable the parts of the code that prevents this crate from compiling with `stm32g491` or `stm32g4a1`

It would be quite useful if there were a graphical way to see what text line corresponds to what point on the x axis. For example mousover the text line...

enhancement
help wanted

It would be nice to have support for things like [defmt](https://github.com/knurling-rs/defmt) and/or [probe-run](https://github.com/knurling-rs/probe-run)/[probe-rs](https://probe.rs/) or similar. I imagine defmt would make a lot of sense for fast and efficient logging of...

enhancement
help wanted

When having different values with completely different scales, the smaller ones turns in to flat lines close to zero It would be useful to have individual scaling per channel like...

enhancement
help wanted

A semi hacky POC for #85 (Yes, I have a low res screen :) ) ```bash [albin@macen serial-monitor-rust]$ ping 1.1.1.1 | cargo r ``` ![image](https://github.com/hacknus/serial-monitor-rust/assets/10927717/e1d79993-a154-4f0c-8ccc-133b50d76666) ![image](https://github.com/hacknus/serial-monitor-rust/assets/10927717/b9353f42-93f4-4c7f-9712-dc9135fe1537) BTW, any ideas as...

Today we have lots of places with code like [this](https://github.com/stm32-rs/stm32g4xx-hal/blob/main/src/adc.rs#L30:L39): ```rust #[cfg(any( feature = "stm32g471", feature = "stm32g473", feature = "stm32g474", feature = "stm32g483", feature = "stm32g484", feature = "stm32g491",...