Projects can be imported in STM32CubeID. For the most part of the code see project_name/Core/Src/main.c. Project Descrition inside PDFs directory ...