summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
diff options
context:
space:
mode:
authorKarel Gardas <karel@functional.vision>2023-07-19 18:45:02 +0200
committerKarel Gardas <karel@functional.vision>2023-07-31 15:15:09 +0200
commited358507a3ef5ed2d894dfaf8d0b9a885e649604 (patch)
treedf222bbe27e27dbd888645372764fa8f6e84ae87 /bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
parentbsp/stm32h7: Disable unused functions (diff)
downloadrtems-ed358507a3ef5ed2d894dfaf8d0b9a885e649604.tar.bz2
bsp/stm32h7: Enable LL drivers
Re-apply based on: commit abb78587b6d1be08697810cdae31cd2dbe35ee4a Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Wed Apr 1 11:11:59 2020 +0200 bsp/stm32h7: Enable LL drivers Update #3910.
Diffstat (limited to '')
-rw-r--r--bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h b/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
index 932bbd200f..ad9fc4aa22 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_ll_i2c.h
@@ -49,7 +49,7 @@ extern "C" {
*/
/* Private macros ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup I2C_LL_Private_Macros I2C Private Macros
* @{
*/
@@ -59,7 +59,7 @@ extern "C" {
#endif /*USE_FULL_LL_DRIVER*/
/* Exported types ------------------------------------------------------------*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup I2C_LL_ES_INIT I2C Exported Init structure
* @{
*/
@@ -2236,7 +2236,7 @@ __STATIC_INLINE void LL_I2C_TransmitData8(I2C_TypeDef *I2Cx, uint8_t Data)
* @}
*/
-#if defined(USE_FULL_LL_DRIVER)
+#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
/** @defgroup I2C_LL_EF_Init Initialization and de-initialization functions
* @{
*/