File tree Expand file tree Collapse file tree 4 files changed +885
-0
lines changed Expand file tree Collapse file tree 4 files changed +885
-0
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ zephyr_library_sources_ifdef(CONFIG_I2S_MCUX_SAI i2s_mcux_sai.c)
1616zephyr_library_sources_ifdef(CONFIG_I2S_ESP32 i2s_esp32.c)
1717zephyr_library_sources_ifdef(CONFIG_I2S_SILABS_SIWX91X i2s_silabs_siwx91x.c)
1818zephyr_library_sources_ifdef(CONFIG_I2S_TEST i2s_test.c)
19+ 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,23 @@ config I2S_STM32_TX_BLOCK_COUNT
2525 default 4
2626
2727endif # 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+ select CACHE_MANAGEMENT if CPU_HAS_DCACHE
34+ select DMA
35+ select USE_STM32_HAL_DMA
36+ select USE_STM32_HAL_DMA_EX
37+ select USE_STM32_HAL_SAI
38+ help
39+ Enable SAI support on the STM32U5 family of processors.
40+
41+ if I2S_STM32_SAI
42+
43+ config I2S_STM32_SAI_BLOCK_COUNT
44+ int "SAI queue length"
45+ default 4
46+
47+ endif # I2S_STM32_SAI
You can’t perform that action at this time.
0 commit comments