Debugging bare-metal STM32 from the seventh level of hell
Getting started with STM32
Bare metal programming for an stm32f103c8 Blue Pill board