mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-16 01:15:38 +00:00
If local control is enabled via config option (CONFIG_ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE), the enabling/disabling will happen internally and the behaviour will be unchanged. However, if the config option is disabled, applications can still call esp_rmaker_local_ctrl_enable/disable at runtime as and when required, if CONFIG_ESP_RMAKER_LOCAL_CTRL_FEATURE_ENABLE option is enabled. Note that the older config option CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE has been renamed to CONFIG_ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE. However, CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE will also continue to work and ensure backward compatibility
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
|
CONFIG_PARTITION_TABLE_SINGLE_APP=
|
|
CONFIG_PARTITION_TABLE_TWO_OTA=
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
|
|
CONFIG_PARTITION_TABLE_OFFSET=0x8000
|
|
CONFIG_PARTITION_TABLE_MD5=y
|
|
|
|
# mbedtls
|
|
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
|
|
CONFIG_MBEDTLS_DYNAMIC_FREE_PEER_CERT=y
|
|
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y
|
|
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN=y
|
|
|
|
# For BLE Provisioning using NimBLE stack (Not applicable for ESP32-S2)
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
|
|
|
# Temporary Fix for Timer Overflows
|
|
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=3120
|
|
|
|
# For additional security on reset to factory
|
|
CONFIG_ESP_RMAKER_USER_ID_CHECK=y
|
|
|
|
# Secure Local Control
|
|
CONFIG_ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE=y
|
|
#CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE is deprecated but will continue to work
|
|
CONFIG_ESP_RMAKER_LOCAL_CTRL_SECURITY_1=y
|
|
|
|
# Application Rollback
|
|
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
|