This project is based on the crazyflie2-stm-bootloader. It uses STM32CubeMX to generate the orignal structure and uses HAL library instead of STM32 Standard Peripheral Libraries (SPL), which is deprecated.
STM32CubeMX Setup
System Core -> RCC -> HSE -> Crystal/Ceramic Resonator