tools: feed renamed to ebusd_feed.
This commit is contained in:
+1
-1
@@ -12,4 +12,4 @@
|
|||||||
.deps/
|
.deps/
|
||||||
*.o
|
*.o
|
||||||
*.dirstamp
|
*.dirstamp
|
||||||
/feed
|
/ebusd_feed
|
||||||
|
|||||||
+4
-6
@@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|||||||
|
|
||||||
AM_CXXFLAGS = $(LIBEBUS_CFLAGS) -I$(top_srcdir)/utils -fpic -Wall -Wextra
|
AM_CXXFLAGS = $(LIBEBUS_CFLAGS) -I$(top_srcdir)/utils -fpic -Wall -Wextra
|
||||||
|
|
||||||
bin_PROGRAMS = ebusd
|
bin_PROGRAMS = ebusd ebusd_feed
|
||||||
|
|
||||||
ebusd_SOURCES = src/main.cpp \
|
ebusd_SOURCES = src/main.cpp \
|
||||||
src/baseloop.cpp \
|
src/baseloop.cpp \
|
||||||
@@ -22,9 +22,7 @@ ebusd_LDADD = $(LIBEBUS_LIBS) \
|
|||||||
|
|
||||||
dist_noinst_SCRIPTS = autogen.sh
|
dist_noinst_SCRIPTS = autogen.sh
|
||||||
|
|
||||||
noinst_PROGRAMS = feed
|
ebusd_feed_SOURCES = tools/ebusd_feed.cpp \
|
||||||
|
utils/appl.cpp
|
||||||
|
|
||||||
feed_SOURCES = tools/feed.cpp \
|
ebusd_feed_LDADD = $(LIBEBUS_LIBS)
|
||||||
utils/appl.cpp
|
|
||||||
|
|
||||||
feed_LDADD = $(LIBEBUS_LIBS)
|
|
||||||
|
|||||||
Binary file not shown.
@@ -33,11 +33,11 @@ Appl& A = Appl::Instance();
|
|||||||
void define_args()
|
void define_args()
|
||||||
{
|
{
|
||||||
A.addItem("p_device", Appl::Param("/dev/ttyUSB60"), "d", "device",
|
A.addItem("p_device", Appl::Param("/dev/ttyUSB60"), "d", "device",
|
||||||
"dummy serial device (default: /dev/ttyUSB60)\n\t\t(socat -d -d pty,raw,echo=0 pty,raw,echo=0)",
|
"dummy serial device (default: /dev/ttyUSB60)\n\t\t(hint: socat -d -d pty,raw,echo=0 pty,raw,echo=0)",
|
||||||
Appl::type_string, Appl::opt_mandatory);
|
Appl::type_string, Appl::opt_mandatory);
|
||||||
|
|
||||||
A.addItem("p_file", Appl::Param("test/ebus_dump.bin"), "f", "file",
|
A.addItem("p_file", Appl::Param(""), "f", "file",
|
||||||
"dump file with raw data (default: test/ebus_dump.bin)",
|
"dump file with raw data",
|
||||||
Appl::type_string, Appl::opt_mandatory);
|
Appl::type_string, Appl::opt_mandatory);
|
||||||
|
|
||||||
A.addItem("p_time", Appl::Param(10000), "t", "time",
|
A.addItem("p_time", Appl::Param(10000), "t", "time",
|
||||||
Reference in New Issue
Block a user