TouchGFX uses ST Cube drivers for STM32 MCUs and ST evaluation boards with the exception of
For most of the Application Templates the ST Cube drivers files are located in
Users of Cube must provide a HAL configuration (
stm32f7xx_hal_conf.h) somewhere along the include path of a project (expected by
stm32f7xx_hal.h). Note that this configuration may need to be migrated when up- or downgrading to different versions of Cube. As an example: When upgrading to CubeF7 1.4.0, Cube drivers required the definition of an additional symbol: A timeout for startup of the Low Speed oscillator (LSE).
stm32f7xx_hal_conf.h and updating your project configurations to use your own cube files, here is a list of files that contain changes made by Draupner:
STM32F746G-DISCO: vendor\Components\ft5336\ft5336.c(Change in the way X- and Y-coordinates are read from device)
otm8009a.cfor every STM32F7x69 board (Change to brightness)
STM32Fx69Iboard to avoid references to ST Font Utilities.
These board-specific driver files typically don't undergo many changes and are easy to migrate. To summarize:
- Download and unpack a different version of Cube to a different location on disk.
- Update project to include the new files.
- Ensure that
stm32f7xx_hal_conf.his still valid - If not, you can usually find examples of valid configurations within the Cube driver package.
- Migrate any relevant changes from the list above (See list of files above).