File tree 4 files changed +886
-0
lines changed
4 files changed +886
-0
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ zephyr_library_sources_ifdef(CONFIG_I2S_NRFX i2s_nrfx.c)
14
14
zephyr_library_sources_ifdef(CONFIG_I2S_MCUX_SAI i2s_mcux_sai.c)
15
15
zephyr_library_sources_ifdef(CONFIG_I2S_ESP32 i2s_esp32.c)
16
16
zephyr_library_sources_ifdef(CONFIG_I2S_TEST i2s_test.c)
17
+ zephyr_library_sources_ifdef(CONFIG_I2S_STM32_SAI i2s_stm32_sai.c)
Original file line number Diff line number Diff line change @@ -25,3 +25,25 @@ config I2S_STM32_TX_BLOCK_COUNT
25
25
default 4
26
26
27
27
endif # I2S_STM32
28
+
29
+ menuconfig I2S_STM32_SAI
30
+ bool "STM32 MCU I2S controller driver"
31
+ default y
32
+ depends on DT_HAS_ST_STM32_SAI_ENABLED
33
+ depends on SOC_SERIES_STM32U5X
34
+ select CACHE_MANAGEMENT if CPU_HAS_DCACHE
35
+ select DMA
36
+ select USE_STM32_HAL_DMA
37
+ select USE_STM32_HAL_DMA_EX
38
+ select USE_STM32_HAL_SAI
39
+ select USE_STM32_LL_DLYB if SOC_SERIES_STM32U5X
40
+ help
41
+ Enable SAI support on the STM32U5 family of processors.
42
+
43
+ if I2S_STM32_SAI
44
+
45
+ config I2S_STM32_SAI_BLOCK_COUNT
46
+ int "SAI queue length"
47
+ default 4
48
+
49
+ endif # I2S_STM32_SAI
You can’t perform that action at this time.
0 commit comments