-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathKconfig
More file actions
59 lines (49 loc) · 2.35 KB
/
Kconfig
File metadata and controls
59 lines (49 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
menu "esp-cryptoauthlib"
choice ATECC608A_TYPE
prompt "Choose the type of ATECC608A chip"
default ATECC608A_TNG
help
There are three types of ATECC608A ( Secure Element) chips, which are
Trust & GO, TrustFLex and Trust Custom. For more details consult README
file of esp_cryptoauth_utility which is part of esp-cryptoauthlib component.
config ATECC608A_TNG
bool "ATECC608A chip type Trust & GO"
config ATECC608A_TFLEX
bool "ATECC608A chip type TrustFlex"
config ATECC608A_TCUSTOM
bool "ATECC608A chip type TrustCustom"
endchoice
config ATCA_I2C_USE_LEGACY_DRIVER
bool "Force use of legacy I2C driver"
default n
help
Enable this option if you're using an I2C device that requires the legacy I2C driver and encounter conflicts related to I2C driver usage.
This will force the use of the legacy driver for ATECC608A communication.
For ESP-IDF versions < 5.2: Only the legacy I2C driver is available, so this option has no effect.
For ESP-IDF versions >= 5.2: New I2C driver is in use by default. Enable this option to switch back to the legacy driver if needed.
config ATCA_MBEDTLS_ECDSA
bool "Enable Hardware ECDSA keys for mbedTLS (ESP-IDF 5.x only)"
depends on MBEDTLS_ECDSA_C
help
Enable ATECC608 hardware ECDSA integration with mbedTLS using the
ALT mechanism. This allows using ATECC private keys for TLS client
authentication and other ECDSA operations.
NOTE: This option only works with ESP-IDF 5.x (mbedTLS 3.x).
For ESP-IDF 6.x+ (mbedTLS 4.x), use CONFIG_MBEDTLS_HARDWARE_ATECC
in the mbedtls component Kconfig instead.
config ATCA_I2C_SDA_PIN
int "I2C SDA pin used to communicate with the ATECC608A"
default 21
config ATCA_I2C_SCL_PIN
int "I2C SCL pin used to communicate with the ATECC608A"
default 22
config ATCA_I2C_ADDRESS
hex "I2C device address of the ATECC608A"
default 0xC0 if ATECC608A_TCUSTOM
default 0x6C if ATECC608A_TFLEX
default 0x6A if ATECC608A_TNG
config ATCA_I2C_BAUD_RATE
int "I2C baud rate in Hz"
default 100000
range 100000 1000000
endmenu # cryptoauthlib