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(
41
41
i3c_npcx.c
42
42
)
43
43
44
+ zephyr_library_sources_ifdef (
45
+ CONFIG_I3C_STM32
46
+ i3c_stm32.c
47
+ )
48
+
44
49
zephyr_library_sources_ifdef (
45
50
CONFIG_I3C_TEST
46
51
i3c_test.c
Original file line number Diff line number Diff line change @@ -123,5 +123,6 @@ rsource "Kconfig.nxp"
123
123
rsource "Kconfig.cdns"
124
124
rsource "Kconfig.npcx"
125
125
rsource "Kconfig.test"
126
+ rsource "Kconfig.stm32"
126
127
127
128
endif # 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