Skip to content

Commit 756362d

Browse files
andy31415andreilitvin
andauthoredMay 23, 2023
Add CONFIG_MBEDTLS_HKDF_C=y to some esp32 defaults. (#26750)
This seems to be required, otherwise I get errors like: ``` config/esp32/third_party/connectedhomeip/src/crypto/CHIPCryptoPALmbedTLS.cpp:330: undefined reference to `mbedtls_hkdf' ``` Co-authored-by: Andrei Litvin <andreilitvin@google.com>
1 parent 7f6f27d commit 756362d

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed
 

‎examples/lighting-app/esp32/sdkconfig.defaults.esp32c2

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ CONFIG_BT_NIMBLE_ROLE_OBSERVER=n
1717
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=4
1818
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=8
1919
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16
20+
21+
# Enable HKDF in mbedtls
22+
CONFIG_MBEDTLS_HKDF_C=y

‎examples/lighting-app/esp32/sdkconfig.defaults.esp32c6

+3
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,6 @@ CONFIG_ENABLE_OTA_REQUESTOR=y
6262

6363
# Enable chip shell
6464
CONFIG_ENABLE_CHIP_SHELL=y
65+
66+
# Enable HKDF in mbedtls
67+
CONFIG_MBEDTLS_HKDF_C=y

‎examples/lighting-app/esp32/sdkconfig.defaults.esp32h2

+3
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,6 @@ CONFIG_ENABLE_OTA_REQUESTOR=y
7373

7474
# Enable chip shell
7575
CONFIG_ENABLE_CHIP_SHELL=y
76+
77+
# Enable HKDF in mbedtls
78+
CONFIG_MBEDTLS_HKDF_C=y

‎examples/lighting-app/esp32/sdkconfig_rpc.defaults

+3
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ CONFIG_EXAMPLE_UART_BAUD_RATE=115200
5050
CONFIG_EXAMPLE_UART_RXD=3
5151
CONFIG_EXAMPLE_UART_TXD=1
5252
CONFIG_ENABLE_PW_RPC=y
53+
54+
# Enable HKDF in mbedtls
55+
CONFIG_MBEDTLS_HKDF_C=y

‎examples/shell/esp32/sdkconfig.defaults

+3
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
3838
CONFIG_DEVICE_VENDOR_ID=0xFFF1
3939
CONFIG_DEVICE_PRODUCT_ID=0x8012
4040
CONFIG_ENABLE_CHIP_SHELL=y
41+
42+
# Enable HKDF in mbedtls
43+
CONFIG_MBEDTLS_HKDF_C=y

0 commit comments

Comments
 (0)
Please sign in to comment.