1
+ # MAX62664 biometric sensor hub configuration options.
2
+
3
+ # Copyright (c) 2025, Daniel Kampert
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+
7
+ config MAX32664C
8
+ bool "MAX32664C Driver"
9
+ default y
10
+ depends on DT_HAS_MAXIM_MAX32664C_ENABLED
11
+ select I2C
12
+ help
13
+ Enable the driver for the MAX32664C sensor hub.
14
+
15
+ if MAX32664C
16
+ config MAX32664C_USE_FIRMWARE_LOADER
17
+ bool "Enable this option if you want to use the I2C firmware loader"
18
+ default n
19
+
20
+ config MAX32664C_USE_EXTERNAL_ACC
21
+ bool "Enable this option if you want to use an external accelerometer"
22
+ default n
23
+
24
+ config MAX32664C_USE_EXTENDED_REPORTS
25
+ bool "Enable this option if you want to use extended reports instead of the default reports"
26
+ default n
27
+
28
+ config MAX32664C_USE_STATIC_MEMORY
29
+ bool "Disable this option if the driver should use dynamic memory"
30
+ default y
31
+
32
+ config MAX32664C_QUEUE_SIZE
33
+ int "Length of the message queue"
34
+ default 32
35
+
36
+ config MAX32664C_SAMPLE_BUFFER_SIZE
37
+ depends on MAX32664C_USE_STATIC_MEMORY
38
+ int "Length of the sample buffer for the I2C reading thread"
39
+ default 64
40
+ help
41
+ This is the number of samples that will be read from the sensor hub in one go.
42
+ The maximum value is 64, but you can set it lower if you want to reduce memory usage.
43
+
44
+ choice
45
+ prompt "AFE sensor ID used by the sensor hub"
46
+ default MAX32664C_USE_MAX86161
47
+
48
+ config MAX32664C_USE_MAX86141
49
+ bool "MAX86141"
50
+
51
+ config MAX32664C_USE_MAX86161
52
+ bool "MAX86161"
53
+ endchoice
54
+
55
+ config MAX32664C_ACC_ID
56
+ hex "Accelerometer ID sensor ID used by the sensor hub"
57
+ default 0x1B
58
+
59
+ config MAX32664C_THREAD_STACK_SIZE
60
+ int "MAX32664C sample thread stack size"
61
+ default 4096
62
+
63
+ module = MAXIM_MAX32664C
64
+ module-str = MAXIM_MAX32664C
65
+ source "subsys/logging/Kconfig.template.log_config"
66
+
67
+ endif
0 commit comments