2023-05-25 06:18:03 -04:00
|
|
|
#
|
|
|
|
# Partition Table
|
|
|
|
#
|
|
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
|
|
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
|
|
|
|
# end of Partition Table
|
|
|
|
|
|
|
|
#
|
|
|
|
# mbedTLS
|
|
|
|
#
|
2023-06-30 02:15:55 -04:00
|
|
|
# TODO: Re-enable HW acceleration when HW AES support pm_lock (IDF-7704)
|
|
|
|
CONFIG_MBEDTLS_HARDWARE_AES=n
|
|
|
|
CONFIG_MBEDTLS_HARDWARE_MPI=n
|
|
|
|
CONFIG_MBEDTLS_HARDWARE_SHA=n
|
2023-05-25 06:18:03 -04:00
|
|
|
CONFIG_MBEDTLS_CMAC_C=y
|
|
|
|
CONFIG_MBEDTLS_SSL_PROTO_DTLS=y
|
|
|
|
CONFIG_MBEDTLS_KEY_EXCHANGE_ECJPAKE=y
|
|
|
|
CONFIG_MBEDTLS_ECJPAKE_C=y
|
|
|
|
# end of mbedTLS
|
|
|
|
|
|
|
|
#
|
|
|
|
# OpenThread
|
|
|
|
#
|
|
|
|
CONFIG_OPENTHREAD_ENABLED=y
|
|
|
|
CONFIG_OPENTHREAD_BORDER_ROUTER=n
|
|
|
|
CONFIG_OPENTHREAD_DNS64_CLIENT=y
|
|
|
|
# end of OpenThread
|
|
|
|
|
|
|
|
#
|
|
|
|
# lwIP
|
|
|
|
#
|
|
|
|
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=4096
|
|
|
|
CONFIG_LWIP_IPV6_NUM_ADDRESSES=8
|
2023-07-07 07:25:14 -04:00
|
|
|
CONFIG_LWIP_IPV4=n
|
|
|
|
CONFIG_LWIP_ND6=n
|
2023-05-25 06:18:03 -04:00
|
|
|
# end of lwIP
|
|
|
|
|
|
|
|
#
|
|
|
|
# IEEE 802.15.4
|
|
|
|
#
|
|
|
|
CONFIG_IEEE802154_ENABLED=y
|
|
|
|
# end of IEEE 802.15.4
|
|
|
|
|
|
|
|
#
|
|
|
|
# light sleep
|
|
|
|
#
|
|
|
|
CONFIG_PM_ENABLE=y
|
|
|
|
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
|
|
|
|
CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP=y
|
|
|
|
CONFIG_IEEE802154_SLEEP_ENABLE=y
|
2023-07-07 07:25:14 -04:00
|
|
|
# Use 1000Hz freertos tick to lower sleep time threshold
|
|
|
|
CONFIG_FREERTOS_HZ=1000
|
|
|
|
CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y
|
2023-05-25 06:18:03 -04:00
|
|
|
# end of light sleep
|