mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'fix/increase_ble_log_task_stack_size_for_xtensa_chips' into 'master'
fix(ble): increase default ble log stack size for xtensa chips See merge request espressif/esp-idf!43250
This commit is contained in:
@@ -7,6 +7,8 @@ config BLE_LOG_ENABLED
|
||||
if BLE_LOG_ENABLED
|
||||
config BLE_LOG_TASK_STACK_SIZE
|
||||
int "Stack size for BLE Log Task"
|
||||
default 1024 if IDF_TARGET_ARCH_RISCV
|
||||
default 2048 if IDF_TARGET_ARCH_XTENSA
|
||||
default 1024
|
||||
help
|
||||
Stack size for BLE Log Task
|
||||
|
||||
@@ -41,7 +41,14 @@
|
||||
#define SPI_OUT_LOG_STR_BUF_SIZE (100)
|
||||
#define SPI_OUT_MALLOC(size) heap_caps_malloc(size, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT)
|
||||
#define SPI_OUT_TASK_PRIORITY (ESP_TASK_PRIO_MAX - 1)
|
||||
|
||||
#if CONFIG_IDF_TARGET_ARCH_RISCV
|
||||
#define SPI_OUT_TASK_STACK_SIZE (1024)
|
||||
#elif CONFIG_IDF_TARGET_ARCH_XTENSA
|
||||
#define SPI_OUT_TASK_STACK_SIZE (2048)
|
||||
#else
|
||||
static_assert(false, "BLE Log SPI Out: Unsupported target architecture");
|
||||
#endif /* CONFIG_IDF_TARGET_ARCH_RISCV */
|
||||
|
||||
#if SPI_OUT_TS_SYNC_ENABLED
|
||||
#define SPI_OUT_TS_SYNC_TIMEOUT_MS (1000)
|
||||
|
||||
Reference in New Issue
Block a user