Skip to content

Commit d368725

Browse files
committed
Update documentaton for async_context_freertos_config.task_stack
1 parent f9f2116 commit d368725

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/rp2_common/pico_async_context/include/pico/async_context_freertos.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ typedef struct async_context_freertos_config {
5858
configSTACK_DEPTH_TYPE task_stack_size;
5959
/**
6060
* \brief Pointer to stack memory for the async_context task.
61-
* If this is not provided, then a stack will be allocated from the
62-
* freertos heap.
6361
*/
6462
#if configSUPPORT_STATIC_ALLOCATION
6563
StackType_t *task_stack;

src/rp2_common/pico_cyw43_arch/include/pico/cyw43_arch/arch_freertos.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
#ifndef _PICO_CYW43_ARCH_ARCH_FREERTOS_H
88
#define _PICO_CYW43_ARCH_ARCH_FREERTOS_H
99

10+
// PICO_CONFIG: CYW43_NO_DEFAULT_TASK_STACK, Disables the default static allocation of the CYW43 FreeRTOS task stack, type=bool, default=0, group=pico_cyw43_arch
11+
#ifndef CYW43_NO_DEFAULT_TASK_STACK
12+
#define CYW43_NO_DEFAULT_TASK_STACK 0
13+
#endif
14+
1015
// PICO_CONFIG: CYW43_TASK_STACK_SIZE, Stack size for the CYW43 FreeRTOS task in 4-byte words, type=int, default=1024, group=pico_cyw43_arch
1116
#ifndef CYW43_TASK_STACK_SIZE
1217
#define CYW43_TASK_STACK_SIZE 1024

0 commit comments

Comments
 (0)