Description @LMESTM mbed 5.9.7 Following HAL update, MACRO __HAL_SYSCFG_FASTMODEPLUS_ENABLE has been replaced by I2C API function HAL_I2CEx_EnableFastModePlus. In targets/TARGET_STM/i2c_api.c #if defined(I2C1_BASE) && defined(__HAL_SYSCFG_FASTMODEPLUS_ENABLE) && defined (I2C_FASTMODEPLUS_I2C1) if (obj_s->i2c == I2C_1) { HAL_I2CEx_EnableFastModePlus(I2C_FASTMODEPLUS_I2C1); } However, macro __HAL_SYSCFG_FASTMODEPLUS_ENABLE being now undefined, i guess we have to remove it in order to properly enable I2C FastModePlus. Proposal: #if defined(I2C1_BASE) && defined (I2C_FASTMODEPLUS_I2C1) if (obj_s->i2c == I2C_1) { HAL_I2CEx_EnableFastModePlus(I2C_FASTMODEPLUS_I2C1); } Issue request type [ ] Question [ ] Enhancement [x] Bug