I2C EEPROM support #3860

This commit is contained in:
rusefillc 2022-01-31 18:58:26 -05:00
parent 0bcfa4b1d2
commit be4184b42d
2 changed files with 3 additions and 2 deletions

View File

@ -138,7 +138,8 @@
* I2C driver system settings.
*/
#define STM32_I2C_USE_I2C1 FALSE
#define STM32_I2C_USE_I2C2 FALSE
/* PB10/PB11 like some Hellen likes */
#define STM32_I2C_USE_I2C2 TRUE
#define STM32_I2C_USE_I2C3 FALSE
#define STM32_I2C_USE_I2C4 FALSE
#define STM32_I2C_BUSY_TIMEOUT 50

View File

@ -64,7 +64,7 @@
* @brief Enables the I2C subsystem.
*/
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
#define HAL_USE_I2C FALSE
#define HAL_USE_I2C TRUE
#endif
/**