examples/posix_stdio: Fix Kconfig to define default stack size

Fix the Kconfig file for the posix_stdio example by adding
the STACKSIZE symbol and setting it to DEFAULT_TASK_STACKSIZE.

This change ensures that the example builds properly and
respects system-wide stack size configuration.

Signed-off-by: Vinicius May <vmay.sweden@gmail.com>
This commit is contained in:
vrmay23 2025-05-25 17:41:10 +02:00 committed by Alan C. Assis
parent 44eeb1c7c8
commit 8ff533beb3

View file

@ -7,7 +7,8 @@ config EXAMPLES_POSIX_STDIO
bool "Posix stdio example"
default n
---help---
Enable POSIX stdio example that shows how to use open(), write() and close() via /dev/console.
Enable POSIX stdio example that shows how to use open(), write() and
close() via /dev/console.
config EXAMPLES_POSIX_STDIO_PROGNAME
string "Program name"
@ -15,6 +16,11 @@ config EXAMPLES_POSIX_STDIO_PROGNAME
depends on EXAMPLES_POSIX_STDIO
config EXAMPLES_POSIX_STDIO_PRIORITY
int "POSIX_STDIO test priority"
int "POSIX_STDIO priority"
default 100
depends on EXAMPLES_POSIX_STDIO
config EXAMPLES_POSIX_STDIO_STACKSIZE
int "POSIX_STDIO stack size"
default DEFAULT_TASK_STACKSIZE
depends on EXAMPLES_POSIX_STDIO