mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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:
parent
44eeb1c7c8
commit
8ff533beb3
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue