mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-06 21:19:06 +00:00
This example will help newcomers to port software from Linux to NuttX in a POSIX compliant fashion using stdio library. It shows how to work with open(), close() and write() functions over /dev/console. Signed-off-by: Vinicius May <vmay.sweden@gmail.com>
20 lines
547 B
Text
20 lines
547 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
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.
|
|
|
|
config EXAMPLES_POSIX_STDIO_PROGNAME
|
|
string "Program name"
|
|
default "posix_stdio"
|
|
depends on EXAMPLES_POSIX_STDIO
|
|
|
|
config EXAMPLES_POSIX_STDIO_PRIORITY
|
|
int "POSIX_STDIO test priority"
|
|
default 100
|
|
depends on EXAMPLES_POSIX_STDIO
|