23 lines
782 B
Plaintext
23 lines
782 B
Plaintext
# Ensure a clean checkout targets the XIAO's ESP32-C3 rather than ESP-IDF's
|
|
# default ESP32 target.
|
|
CONFIG_IDF_TARGET="esp32c3"
|
|
|
|
# XIAO ESP32-C3 USB-C connector uses the chip's USB Serial/JTAG console.
|
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
|
|
|
# A 1 kHz RTOS tick gives the 100 Hz acquisition task a 1 ms scheduler quantum.
|
|
CONFIG_FREERTOS_HZ=1000
|
|
|
|
# The XIAO ESP32-C3 carries 4 MB of flash.
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
|
|
|
# BLE is the prototype's normal telemetry path. The project Kconfig can switch
|
|
# a validation build back to the preserved direct USB transport.
|
|
CONFIG_TRIKKE_TRANSPORT_BLE=y
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
|
CONFIG_BT_NIMBLE_ROLE_CENTRAL=n
|
|
CONFIG_BT_NIMBLE_ROLE_OBSERVER=n
|
|
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
|
|
CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=256
|