File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
components/bt/common/ble_log Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ config BLE_LOG_ENABLED
77if BLE_LOG_ENABLED
88 config BLE_LOG_TASK_STACK_SIZE
99 int "Stack size for BLE Log Task"
10+ default 1024 if IDF_TARGET_ARCH_RISCV
11+ default 2048 if IDF_TARGET_ARCH_XTENSA
1012 default 1024
1113 help
1214 Stack size for BLE Log Task
Original file line number Diff line number Diff line change 4141#define SPI_OUT_LOG_STR_BUF_SIZE (100)
4242#define SPI_OUT_MALLOC (size ) heap_caps_malloc(size, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT)
4343#define SPI_OUT_TASK_PRIORITY (ESP_TASK_PRIO_MAX - 1)
44+
45+ #if CONFIG_IDF_TARGET_ARCH_RISCV
4446#define SPI_OUT_TASK_STACK_SIZE (1024)
47+ #elif CONFIG_IDF_TARGET_ARCH_XTENSA
48+ #define SPI_OUT_TASK_STACK_SIZE (2048)
49+ #else
50+ static_assert (false, "BLE Log SPI Out: Unsupported target architecture" );
51+ #endif /* CONFIG_IDF_TARGET_ARCH_RISCV */
4552
4653#if SPI_OUT_TS_SYNC_ENABLED
4754#define SPI_OUT_TS_SYNC_TIMEOUT_MS (1000)
You can’t perform that action at this time.
0 commit comments