AnsweredAssumed Answered

STM32CubeMX HAL_I2C_MODULE_ENABLED

Question asked by artag on Oct 6, 2015
Latest reply on Oct 15, 2015 by Amel N
If I build a Cube config using the stm32f303vctx processor and enable an I2C port, I get HAL_I2C_MODULE_ENABLED in the sources and a hal_i2c include file included.

However, if I use the 'stm32f3discovery' board profile., I don't get that macro enabled and instead, an I2C init function is created in main.c

Why is this ?

Outcomes