This is the STM32F7XX_Lib directory structure with just the needed code for DVM firmware projects.
The source of CMSIS library and some include files is from STM32Cube_FW_F7_V1.7.0: http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef7.html
The adaptation to STM32F7 Standard Peripheral Library (STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver) is from: https://gitlab.com/caesar-lab/stm32f7-legacy-library
In order to run the DVM firmware correctly, there are the following modifications already done in this package:
-
STM32F7XX_Lib/Device/startup/startup_stm32f7xx.c :
- Added C++ global constructors support
- Changed initial stack pointer
- Changed support for STM32F767
-
STM32F7XX_Lib/Device/system_stm32f7xx.c :
- Changed PLL_M definition (support "integer" only crystal frequencies: 8, 12, 16 MHz, etc)
- Added functions: SetSysClock(), MPU_Config(), CPU_CACHE_Enable() from examples in https://gitlab.com/caesar-lab/stm32f7-legacy-library
-
STM32F7XX_Lib/Device/stm32f7xx_hal_conf.h :
- Peripheral header file inclusions