33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
# 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=8000
|
|
|
|
# USB drivers from the ESP IDF, to enable stdin. First one is for sx chips, second is for cx chips (risc)
|
|
CONFIG_ESP_CONSOLE_USB_CDC=y # for s, s3, etc. chips
|
|
# CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y # For RISC based c3 chips
|
|
|
|
# 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
|
|
|
|
# Workaround for https://github.com/espressif/esp-idf/issues/7631
|
|
#CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=n
|
|
#CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=n
|
|
|
|
# NimBLE flags for bluetooth
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BT_BLE_ENABLED=y
|
|
CONFIG_BT_BLUEDROID_ENABLED=n
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
|
|
|
# Store BLE info in NVS
|
|
CONFIG_BT_NIMBLE_NVS_PERSIST=y
|
|
|
|
# Allow more levels of logs
|
|
# To change the levels of our crate, use the values in cargo.toml
|
|
# Change this to set log levels for the esp_idf; but unfortunately also the maximum for cargo.toml.
|
|
# Changing maximum level does not seem to accomplish anything despite this commit https://github.com/esp-rs/esp-idf-svc/commit/c76720402b3dc32cc42aec7c2feb4539cc7d2af9
|
|
# The unfortunate side effect of this is a 2k larger binary and log spam on startup.
|
|
# TODO: revisit and remove this for release?
|
|
CONFIG_LOG_DEFAULT_LEVEL_VERBOSE=y
|
|
CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE=y
|