From 85613e95e429679cd5bcff6af94e794fa1636b92 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 30 Jan 2015 09:07:22 -0600 Subject: [PATCH] apps/ustream and udgram: Change default FIFO path to /dev/fifo --- apps/examples/README.txt | 4 ++-- apps/examples/udgram/Kconfig | 2 +- apps/examples/ustream/Kconfig | 2 +- nuttx/configs/sim/udgram/defconfig | 5 ++--- nuttx/configs/sim/ustream/defconfig | 3 ++- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 61577dbee..1a4047592 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -1988,7 +1988,7 @@ examples/ustream Configuration: CONFIG_EXAMPLES_UDGRAM - Enables the Unix domain socket example. CONFIG_EXAMPLES_UDGRAM_ADDR - Specifics the Unix domain address. - Default "/var/fifo/fifo". + Default "/dev/fifo". examples/ustream ^^^^^^^^^^^^^^^^ @@ -2002,7 +2002,7 @@ examples/ustream Configuration: CONFIG_EXAMPLES_USTREAM - Enables the Unix domain socket example. CONFIG_EXAMPLES_USTREAM_ADDR - Specifics the Unix domain address. - Default "/var/fifo/fifo". + Default "/dev/fifo". examples/watchdog ^^^^^^^^^^^^^^^^^ diff --git a/apps/examples/udgram/Kconfig b/apps/examples/udgram/Kconfig index 464a89093..67a88cab6 100644 --- a/apps/examples/udgram/Kconfig +++ b/apps/examples/udgram/Kconfig @@ -14,7 +14,7 @@ if EXAMPLES_UDGRAM config EXAMPLES_UDGRAM_ADDR string "Unix domain address" - default "/var/fifo/fifo" + default "/dev/fifo" config EXAMPLES_UDGRAM_SERVER_APPNAME string "Server executable name" diff --git a/apps/examples/ustream/Kconfig b/apps/examples/ustream/Kconfig index ed61384e1..ccb0b30fa 100644 --- a/apps/examples/ustream/Kconfig +++ b/apps/examples/ustream/Kconfig @@ -14,6 +14,6 @@ if EXAMPLES_USTREAM config EXAMPLES_USTREAM_ADDR string "Unix domain address" - default "/var/fifo/fifo" + default "/dev/fifo" endif # EXAMPLES_USTREAM diff --git a/nuttx/configs/sim/udgram/defconfig b/nuttx/configs/sim/udgram/defconfig index a328786f2..641c01ecb 100644 --- a/nuttx/configs/sim/udgram/defconfig +++ b/nuttx/configs/sim/udgram/defconfig @@ -597,15 +597,14 @@ CONFIG_EXAMPLES_NSH=y # CONFIG_EXAMPLES_USBSERIAL is not set # CONFIG_EXAMPLES_USBTERM is not set CONFIG_EXAMPLES_UDGRAM=y -CONFIG_EXAMPLES_UDGRAM_ADDR="/var/fifo/fifo" +CONFIG_EXAMPLES_UDGRAM_ADDR="/dev/fifo" CONFIG_EXAMPLES_UDGRAM_SERVER_APPNAME="server" CONFIG_EXAMPLES_UDGRAM_SERVER_STACKSIZE=4096 CONFIG_EXAMPLES_UDGRAM_SERVER_PRIORITY=100 CONFIG_EXAMPLES_UDGRAM_CLIENT_APPNAME="client" CONFIG_EXAMPLES_UDGRAM_CLIENT_STACKSIZE=4096 CONFIG_EXAMPLES_UDGRAM_CLIENT_PRIORITY=100 -CONFIG_EXAMPLES_USTREAM=y -CONFIG_EXAMPLES_USTREAM_ADDR="/var/fifo/fifo" +# CONFIG_EXAMPLES_USTREAM is not set # CONFIG_EXAMPLES_WATCHDOG is not set # diff --git a/nuttx/configs/sim/ustream/defconfig b/nuttx/configs/sim/ustream/defconfig index 935043376..7e453bd1b 100644 --- a/nuttx/configs/sim/ustream/defconfig +++ b/nuttx/configs/sim/ustream/defconfig @@ -596,8 +596,9 @@ CONFIG_EXAMPLES_NSH=y # CONFIG_EXAMPLES_WEBSERVER is not set # CONFIG_EXAMPLES_USBSERIAL is not set # CONFIG_EXAMPLES_USBTERM is not set +# CONFIG_EXAMPLES_UDGRAM is not set CONFIG_EXAMPLES_USTREAM=y -CONFIG_EXAMPLES_USTREAM_ADDR="/var/fifo/fifo" +CONFIG_EXAMPLES_USTREAM_ADDR="/dev/fifo" # CONFIG_EXAMPLES_WATCHDOG is not set #