File tree Expand file tree Collapse file tree 4 files changed +2213
-0
lines changed
Expand file tree Collapse file tree 4 files changed +2213
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ zephyr_library_sources_ifdef(
4141 i3c_npcx.c
4242)
4343
44+ zephyr_library_sources_ifdef(
45+ CONFIG_I3C_STM32
46+ i3c_stm32.c
47+ )
48+
4449zephyr_library_sources_ifdef(
4550 CONFIG_I3C_TEST
4651 i3c_test.c
Original file line number Diff line number Diff line change @@ -123,5 +123,6 @@ rsource "Kconfig.nxp"
123123rsource "Kconfig.cdns"
124124rsource "Kconfig.npcx"
125125rsource "Kconfig.test"
126+ rsource "Kconfig.stm32"
126127
127128endif # I3C
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2024 EXALT Technologies.
2+ #
3+ # SPDX-License-Identifier: Apache-2.0
4+
5+ module = I3C_STM32
6+ module-str = i3c_stm32
7+
8+ source "subsys/logging/Kconfig.template.log_config"
9+ config I3C_STM32
10+ bool "STM32 I3C driver support"
11+ depends on DT_HAS_ST_STM32_I3C_ENABLED
12+ select I3C_IBI_WORKQUEUE if I3C_USE_IBI
13+ default y
14+ help
15+ Enable support for I3C on STM32 microcontrollers.
16+
17+ if I3C_STM32
18+
19+ config I3C_STM32_DMA
20+ bool "STM32 I3C DMA driver support"
21+ select DMA
22+ help
23+ Enables support for I3C DMA mode on STM32 microcontrollers.
24+
25+ config I3C_STM32_DMA_FIFO_HEAP_SIZE
26+ int "Status FIFO and control FIFO heap"
27+ depends on I3C_STM32_DMA
28+ default 2048
29+ help
30+ Configures the heap size for dynamically allocating the regions for
31+ storing status FIFO and control FIFO words which will be used by the DMA.
32+ This value depends on the maximum number of messages that will be sent
33+ during a single transfer. 2KB guarantees enough heap size for sending 256
34+ messages on a single transfer.
35+
36+ endif # I3C_STM32
You can’t perform that action at this time.
0 commit comments