Skip to content

Commit 294869c

Browse files
committed
Add I2S and SAI support in the HAL conf
1 parent 14ea440 commit 294869c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cores/arduino/stm32/stm32yyxx_hal_conf.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@
4949
#undef HAL_TIM_MODULE_ENABLED
5050
#endif
5151

52+
#if !defined(HAL_I2S_MODULE_DISABLED)
53+
#define HAL_I2S_MODULE_ENABLED
54+
#else
55+
#undef HAL_I2S_MODULE_ENABLED
56+
#endif
57+
58+
#if !defined(HAL_SAI_MODULE_DISABLED)
59+
#define HAL_SAI_MODULE_ENABLED
60+
#else
61+
#undef HAL_SAI_MODULE_ENABLED
62+
#endif
63+
5264
/*
5365
* Not defined by default
5466
*/

0 commit comments

Comments
 (0)