stm32h7xx-hal
stm32h7xx-hal copied to clipboard
Added reset reason impl
Oh, apparently #[rustfmt::skip]
is not allowed anymore?
Well, if rustfmt can do what it likes, the code gets really messy for that match.
Any ideas?
Seems that you can't put #[rustfmt::skip]
on that match
block because it's an expression (that evaluates a value). Feel free to put #[rustfmt::skip]
on the whole function instead :)
Thanks for the PR @diondokter ! I added support for RM0455 parts which have a slightly different table of reset sources, and tested in on a NUCLEO-H7A3ZI-Q board
Oh hey, great! Yeah, I didn't have time to fix it for other chips, especially since I don't have access to an HUN right now.
Thanks for your time 😁
No problem!
bors r+
bors cancel
Canceled.
I just fixed some minor spelling items 😀
bors r+
Build succeeded:
- ci (1.59.0, stm32h735)
- ci (1.59.0, stm32h743)
- ci (1.59.0, stm32h743v)
- ci (1.59.0, stm32h747cm7)
- ci (1.59.0, stm32h753)
- ci (1.59.0, stm32h753v)
- ci (1.59.0, stm32h7b0)
- ci (1.59.0, stm32h7b3)
- ci (stable, stm32h735)
- ci (stable, stm32h743)
- ci (stable, stm32h743v)
- ci (stable, stm32h747cm7)
- ci (stable, stm32h753)
- ci (stable, stm32h753v)
- ci (stable, stm32h7b0)
- ci (stable, stm32h7b3)
- Rustfmt