-
Notifications
You must be signed in to change notification settings - Fork 1
/
sdkconfig.defaults
42 lines (35 loc) · 1.17 KB
/
sdkconfig.defaults
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
# Auto-detect crystal frequency
CONFIG_ESP32_XTAL_FREQ_AUTO=y
CONFIG_ESP32_XTAL_FREQ=0
# Enable BLE
CONFIG_BT_ENABLED=y
CONFIG_SCAN_DUPLICATE_BY_ADV_DATA_AND_DEVICE_ADDR=y
CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST=y
CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY=y
# Give BLE higher default priority than Wi-Fi
CONFIG_SW_COEXIST_ENABLE=y
CONFIG_SW_COEXIST_PREFERENCE_BT=y
CONFIG_SW_COEXIST_PREFERENCE_VALUE=1
# Task watchdog & reboot settings
CONFIG_TASK_WDT_PANIC=y
CONFIG_ESP32_PANIC_SILENT_REBOOT=y
# TLS/SSL
CONFIG_ESP_TLS_USING_MBEDTLS=y
CONFIG_ESP_TLS_INSECURE=y
CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=y
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH=y
CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC=y
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
# Specify custom partitions (app requires higher memory allocation than default)
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_APP_OFFSET=0x10000
# Rock that baudy
CONFIG_CONSOLE_UART_BAUDRATE=921600
CONFIG_MONITOR_BAUD_921600B=y
# Disable log output
CONFIG_LOG_BOOTLOADER_LEVEL=0
CONFIG_LOG_DEFAULT_LEVEL=0
CONFIG_BT_STACK_NO_LOG=y