Skip to content

Commit e11789a

Browse files
committed
Merge branch 'bugfix/bt_idf_ci' into 'master'
fix(example/classic_bt): Fix the potential stack overflow tasks Closes IDFCI-4308 See merge request espressif/esp-idf!42513
2 parents f348a10 + 4606fa8 commit e11789a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/console_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ esp_err_t console_uart_init(void)
119119

120120
uart_set_pin(CONSOLE_UART_NUM, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE);
121121
uart_driver_install(CONSOLE_UART_NUM, 1024, 1024, 8, &uart_queue, 0);
122-
xTaskCreate(console_uart_task, "uTask", 2048, NULL, 8, NULL);
122+
xTaskCreate(console_uart_task, "uTask", 4 * 1024, NULL, 8, NULL);
123123

124124
return ESP_OK;
125125
}

examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/spp_task.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static void spp_task_task_handler(void *arg)
9393
void spp_task_task_start_up(void)
9494
{
9595
spp_task_task_queue = xQueueCreate(10, sizeof(spp_task_msg_t));
96-
xTaskCreate(spp_task_task_handler, "SPPAppT", 2048, NULL, 10, &spp_task_task_handle);
96+
xTaskCreate(spp_task_task_handler, "SPPAppT", 4 * 1024, NULL, 10, &spp_task_task_handle);
9797
return;
9898
}
9999

examples/bluetooth/bluedroid/classic_bt/hfp_ag/main/bt_app_hf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static void bt_app_send_data_task(void *arg)
259259
void bt_app_send_data(void)
260260
{
261261
s_send_data_Semaphore = xSemaphoreCreateBinary();
262-
xTaskCreate(bt_app_send_data_task, "BtAppSendDataTask", 2048, NULL, configMAX_PRIORITIES - 3, &s_bt_app_send_data_task_handler);
262+
xTaskCreate(bt_app_send_data_task, "BtAppSendDataTask", 4 * 1024, NULL, configMAX_PRIORITIES - 3, &s_bt_app_send_data_task_handler);
263263
s_m_rb = xRingbufferCreate(ESP_HFP_RINGBUF_SIZE, RINGBUF_TYPE_BYTEBUF);
264264
const esp_timer_create_args_t c_periodic_timer_args = {
265265
.callback = &bt_app_send_data_timer_cb,

examples/bluetooth/bluedroid/classic_bt/hfp_hf/main/bt_app_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static void bt_app_task_handler(void *arg)
9696
void bt_app_task_start_up(void)
9797
{
9898
bt_app_task_queue = xQueueCreate(10, sizeof(bt_app_msg_t));
99-
xTaskCreate(bt_app_task_handler, "BtAppT", 2048, NULL, configMAX_PRIORITIES - 3, &bt_app_task_handle);
99+
xTaskCreate(bt_app_task_handler, "BtAppT", 4 * 1024, NULL, configMAX_PRIORITIES - 3, &bt_app_task_handle);
100100
return;
101101
}
102102

0 commit comments

Comments
 (0)