This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ff533beb examples/posix_stdio: Fix Kconfig to define default stack 
size
8ff533beb is described below

commit 8ff533beb37eeef1f288c467acd7c50b542464eb
Author: vrmay23 <vmay.swe...@gmail.com>
AuthorDate: Sun May 25 17:41:10 2025 +0200

    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.swe...@gmail.com>
---
 examples/posix_stdio/Kconfig | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/examples/posix_stdio/Kconfig b/examples/posix_stdio/Kconfig
index 3c41e975f..8980223a1 100644
--- a/examples/posix_stdio/Kconfig
+++ b/examples/posix_stdio/Kconfig
@@ -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

Reply via email to