-
Notifications
You must be signed in to change notification settings - Fork 3
/
sdkconfig.defaults
35 lines (30 loc) · 1.23 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
# Rust often needs a bit of an extra main task stack size compared to C (the default is 3K)
CONFIG_ESP_MAIN_TASK_STACK_SIZE=7000
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=16384
CONFIG_LOG_MAXIMUM_LEVEL=2
CONFIG_PM_ENABLE=y
# Use this to set FreeRTOS kernel tick frequency to 1000 Hz (100 Hz by default).
# This allows to use 1 ms granuality for thread sleeps (10 ms by default).
CONFIG_FREERTOS_HZ=1000
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ=240
# Workaround for https://github.com/espressif/esp-idf/issues/7631
#CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=n
#CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=n
# Allow to skip TLS server cert verification
# CONFIG_ESP_TLS_INSECURE=y
# CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=y
# TinyUSB Configuration
CONFIG_TINYUSB=y
CONFIG_TINYUSB_TASK_PRIORITY=7
CONFIG_TINYUSB_HID_ENABLED=y
CONFIG_TINYUSB_HID_COUNT=1
CONFIG_TINYUSB_DESC_USE_ESPRESSIF_VID=n
CONFIG_TINYUSB_DESC_USE_DEFAULT_PID=n
CONFIG_TINYUSB_DESC_CUSTOM_VID=0x0d0a
CONFIG_TINYUSB_DESC_CUSTOM_PID=0xc0de
CONFIG_TINYUSB_DESC_MANUFACTURER_STRING="0d0a.com"
CONFIG_TINYUSB_DESC_PRODUCT_STRING="Esparrier"
CONFIG_TINYUSB_DESC_SERIAL_STRING="114514"
CONFIG_TINYUSB_DESC_HID_STRING="Esparrier HID Device"
CONFIG_TINYUSB_HID_BUFSIZE=64