stuff from ##stm32 that I needed/wanted to keep