This is the code and CubeIDE files for the STM32 Demo Tutorial: https://wiki.st.com/stm32mcu/wiki/Main_Page
Most of the files here are generated from the STM32CubeMX and STM32CubeIDE development tools.
The actual "modified code" is located in Src/main.c