aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/I2C/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/I2C/halconf.h')
-rw-r--r--testhal/STM32/I2C/halconf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/testhal/STM32/I2C/halconf.h b/testhal/STM32/I2C/halconf.h
index b128d89cf..65d88f586 100644
--- a/testhal/STM32/I2C/halconf.h
+++ b/testhal/STM32/I2C/halconf.h
@@ -174,6 +174,14 @@
/*===========================================================================*/
/**
+ * @brief Enables synchronous APIs.
+ * @note Disabling this option saves both code and data space.
+ */
+#if !defined(I2C_USE_WAIT) || defined(__DOXYGEN__)
+#define I2C_USE_WAIT TRUE
+#endif
+
+/**
* @brief Enables the mutual exclusion APIs on the I2C bus.
*/
#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)