Albin Hedman

Results 60 issues of Albin Hedman

This adds the missing dual bank flash related fields to stm32g4 devices: * stm32g471 * stm32g473 * stm32g474 * stm32g483 * stm32g484

Hi I am building an embedded device which needs to log a lot of data quite fast to a PC. Right now I have hardcoded the device to send the...

`F32::inv` fails for values larger than `f32::from_bits(0x7F00_0000) ~= 1.7014118e+38` ``` 80 ERROR panicked at /home/decahe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/micromath-2.1.0/src/float/inv.rs:10:29: attempt to subtract with overflow └─ panic_probe::print_defmt::print @ /home/decahe/.cargo/registry/src/index.crates.io-6f17d22bba15001f/panic-probe-0.3.1/src/lib.rs:104 ``` [float/inv.rs](https://github.com/tarcieri/micromath/blob/main/src/float/inv.rs): ```rust /// Fast approximation...

This is simply a rebased version of PR #12 thus all credit to the author of that PR. *Please note that I do not wish to step on anyone's toes...

I have converted from 0.1 futures and tokio 0.1 to std futures with async await and tokio 0.2. However to use async/await I had to convert to the 2018 edition...

Hi :) I have a use case where I need to update the frequency of several pwm outputs very often, therefore I need access to directly setting the period and/or...

Work in progress. **Currently requires https://github.com/stm32-rs/stm32-rs/pull/860** , thus all the CI errors Thus this(or some future version of this) should probably not be merged until after #102 TODO: * [...

~~This depends on #68 (and thus includes its commits for now)~~ - merged src/rtc.rs is more or less taken from [stm32g0xx-hal](https://github.com/stm32-rs/stm32g0xx-hal/blob/main/src/rtc.rs) and modified slightly to compile for this crate. Not...

The uart-dma example does not show how to send data with different length using dma. Is this not supported by this crate or is it even a hardware limitation? example:...

~~(This PR contains too many unrelated commits, will clean that up)~~ - Done Noticed some weird things when trying to use the flash on a nucleo-g474. Some of it related...