Why I2C4 related functions are defined in HAL for MCU that did not have it?
Hi! I am working with STM32F722VET which has 3 i2cs in total. But in the HAL file \STM32F7xx_DFP\2.15.1\CMSIS\Driver\I2C_STM32F7xx.c there are function calls related to I2C4.
For example, on line 1153: else /*(i2c->reg == I2C4)*/{ __HAL_RCC_I2C4_CLK_ENABLE(); }
The __HAL_RCC_I2C4_CLK_ENABLE() macro is not defined in stm32f7xx_hal_rcc_ex.h so the project cannot be compiled.
I'm using Keil with its device package manager and classic configuration (no cubeMX). Maybe I should include something to solve this problem?
