Skip to content

Commit

Permalink
Merge branch 'bugfix/uart_events_example_stask_overflow_s3' into 'mas…
Browse files Browse the repository at this point in the history
…ter'

fix(uart): increased stack size for the task in uart_events example

See merge request espressif/esp-idf!32779
  • Loading branch information
songruo committed Aug 14, 2024
2 parents cd11782 + 96a8265 commit a6e8a9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void uart_event_task(void *pvParameters)
bzero(dtmp, RD_BUF_SIZE);
ESP_LOGI(TAG, "uart[%d] event:", EX_UART_NUM);
switch (event.type) {
//Event of UART receving data
//Event of UART receiving data
/*We'd better handler data event fast, there would be much more data events than
other types of events. If we take too much time on data event, the queue might
be full.*/
Expand Down Expand Up @@ -146,5 +146,5 @@ void app_main(void)
uart_pattern_queue_reset(EX_UART_NUM, 20);

//Create a task to handler UART event from ISR
xTaskCreate(uart_event_task, "uart_event_task", 2048, NULL, 12, NULL);
xTaskCreate(uart_event_task, "uart_event_task", 3072, NULL, 12, NULL);
}

0 comments on commit a6e8a9d

Please sign in to comment.